Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- num=int(input('How long password do you want in characters?'))
- char='qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM<>#&@{}<'
- password="".join(random.sample(char,num))
- print('Your password is: '+ password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement