21 lines
379 B
Python
21 lines
379 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)
|
|
|
|
# 10 Random Passwords
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
randomPwd(18)
|
|
####################### |