-
-
Save VitaliyShima/e7c0a87bd8942eb4e86b2d37ddd122fa 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