Random Password Generator
Random Password Generator
max_length= 12
numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
lowercase_characters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
'i', 'j', 'k', 'm', 'n', 'o', 'p', 'q',
'r', 's', 't', 'u', 'v', 'w', 'x', 'y',
'z']
symbols = ['@', '#', '$', '%', '=', ':', '?', '.', '/', '|', '~', '>',
'*', '(', ')', '<']
rand_digit = random.choice(numbers)
rand_upper = random.choice(uppercase_characters)
rand_lower = random.choice(uppercase_characters)
rand_symbol = random.choice(symbols)
print(password)