Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- # Das Passwort wird ohne inhalt als String erstellt
- password = ""
- # Es werden random Zahlen erzeugt, die mithilfe der ASCII Tabelle
- # in Zeichen und buchstaben umgerechnet werden
- for erzeugen in range(10):
- a = random.randrange(33, 126)
- a = str(chr(a))
- password += a
- print(password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement