Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- from string import letters, digits, punctuation
- from random import choice
- def password(n=9):
- pool = letters + digits + punctuation
- pword = [choice(pool) for x in range(n)]
- return pword
Add Comment
Please, Sign In to add comment