+ 1
guess game
i don't know why this wont run properly birds = "finch" guess1 = input("Name a bird I am thinking of: ") if guess1.lower != birds: print("No not thinking of", guess1) guess2 = input("What is your second guess? ") if guess2.lower != birds: print("No not thinking of", guess2) guess3 = input("what is your third guess") if guess3.lower != birds: print("No not thinking of", guess3) print("Game over") else: print("Yes third try") else: print("Yes second try") else: print("Yes first try") can you please help me
2 Respostas
+ 2
you forgot to put empty parenthases() in front of lower function :)
python was treating guess.lower as some other variable before
+ 2
thank you