random module python how to make random password generator code example
Example: python random password generator
import random
alph = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz\
1234567890 !@#$%^&*(){}[]<>,.')
out = ''
for char in string:
out += random.choice(alph)
print(out)