Advertisement
Guest User

Python Password Genegator

a guest
Oct 26th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import random
  2. s1 = 'qwertyuiopasdfghjklzxcvbnm'
  3. s2 = s1.upper()
  4. s3 = '1234567890'
  5. s4 = '!@#$%^&*()_+=-'
  6. s = s1+s2+s3+s4
  7. password = ''
  8. for x in range(1, 9):
  9.     password = password + random.choice(s)
  10. print(password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement