Untitled

mail@pastecode.io avatar
unknown
python
6 months ago
253 B
6
Indexable
Never
import random
import string
 
def tao_mk():
    pass1 = string.ascii_letters + string.digits + string.punctuation
    password = ""
    for x in range(8):
        password = password + random.choice(pass1)
    return password
 
print(tao_mk())
Leave a Comment