Advertisement
guaphh

Simple password gen! Made by @guaph

Oct 25th, 2018
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. import random
  2.  
  3. #giving creds
  4. print("Password gen made by @guaph")
  5. print("=") * 60
  6.  
  7. #letting the program know what characters it can gen
  8. chars='qwertyuiopasdfghjklzxcvbnm1234567890!@#$%^&*()'
  9.  
  10. #giving you the option of thelength of the password
  11. length= input("Password Legth?")
  12. length= int (length)
  13.  
  14. #genarating your password
  15. password=''
  16. for c in range(length):
  17.  password+=random.choice(chars)
  18. print (password)
  19. #making a little banner to look cooler
  20. print ("=") * 60
  21.  
  22. #made by @guaph on ig!! just got hella bored at school and made this dm meif you like it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement