import random print('Welcome to your Password Generator') chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?@€&$*()%.,;0123456789' number = input('How many passwords you need? ') number = int(number) length = input('And how many characters? ') length = int(length) print('\nHere are your passwords: ') for pwd in range(number): passwords = '' for c in range(length): passwords += random.choice(chars) print(passwords) print("Thanks for using Password Gen.")