2021-09-13 19:23:45 +02:00

20 lines
334 B
Python

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