guess game | Sololearn: Learn to code for FREE!


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

10/10/2019 12:25:01 PM

Cameron Braswell

2 Answers

New Answer


you forgot to put empty parenthases() in front of lower function :) python was treating guess.lower as some other variable before