This file contains 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): #Number of characters in password (16) | |
pas = pas + random.choice(list('1234567890abcdefghigklmnopqrstuvyxwzABCDEFGHIGKLMNOPQRSTUVYXWZ')) #The characters from which the password will be composed | |
print('Hello, ', num, 'your password is: ', pas) |