2021-08-28 20:36:20 +02:00

21 lines
417 B
Python

import random
import string
def random_password(length):
chars = string.ascii_letters + string.digits
password = ''.join(random.choice(chars) for i in range(length))
print(password)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)
random_password(18)