-
-
Save Kuaranir/c0fbfe8ff721557dadc4cf5e9a406b5b to your computer and use it in GitHub Desktop.
Генератор паролей Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
num = input('login ') | |
pas = '' | |
for x in range(16): #Количество символов (16) | |
pas = pas + random.choice(list('1234567890abcdefghigklmnopqrstuvyxwzABCDEFGHIGKLMNOPQRSTUVYXWZ')) #Символы, из которых будет составлен пароль | |
print('Hello, ', num, 'your password is: ', pas) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment