PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import string
from random import *
letters = string.ascii_letters
print(letters )
digits = string.digits
print (digits )
symbols = string.punctuation
print (symbols )
chars = letters + digits + symbols
print (chars )
print (choice(chars ))
min_length = 8
max_length = 16
password = "".join(choice(chars) for x in range(randint(min_length, max_length)))
print (randint(min_length ,max_length ))
print(password)
print (len(password ))
Enter to Rename, Shift+Enter to Preview
OUTPUT
Запуск