Advertisement
adham-ahmed

Advanced Password Generator with Python

Apr 13th, 2022
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import random
  2. lower = "abcdefghijklmnopqrstuvwxyz"
  3. upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  4. numbers = "1234567890"
  5. symbols = "!@#$%^&*"
  6. String = lower + upper + numbers + symbols
  7. length = 25
  8. while 1 < 10:
  9.     print("".join(random.sample(String,length)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement