words = ['Password1', 'password2', 'passwordthree', 'P4', 'mypassworD1!!!',
    '898*(*^$^@%&#abcdef']
for x in words:
    pass
Python Regex: password must contain at least one uppercase letter and number