The reason the error is flagging is because it isn't checking if the letters meet one requirement, it is checking if each letter meets all of them, so a lowercase I flags as not being uppercase, or a symbol, or a number.
Logically it would be better if you had one message eg "Your PW must include one uppercase and one lowercase...." and then have one if statement to check it.
Logically it would be better if you had one message eg "Your PW must include one uppercase and one lowercase...." and then have one if statement to check it.
for i in password: if i not in lowy and i not in uppy and len(i) < 7 and....: print("Your PW must include....") else: print("Much Strong, Many Wow.")
while dad_has_cigs == True: happiness = True if dad_has_cigs == False: print("Dad come home!") happiness = not happiness break