diff --git a/Animal-Guess/animalguess.py b/Animal-Guess/animalguess.py index 6dc3fe4..5d1c507 100644 --- a/Animal-Guess/animalguess.py +++ b/Animal-Guess/animalguess.py @@ -12,14 +12,18 @@ def check_guess(guess, answer): guess = input("Sorry Wrong Answer, try again") attempt = attempt + 1 if attempt == 3: - print("The Correct answer is ",answer ) - + print("The Correct answer is ", answer) + + score = 0 print("Guess the Animal") guess1 = input("Which bear lives at the North Pole? ") check_guess(guess1, "polar bear") guess2 = input("Which is the fastest land animal? ") -check_guess(guess2, "Cheetah") +check_guess(guess2, "cheetah") guess3 = input("Which is the larget animal? ") check_guess(guess3, "Blue Whale") -print("Your Score is "+ str(score)) +guess4 = input("Who is the G.O.A.T in football? ") +check_guess(guess4, "ronaldo") + +print("Your Score is " + str(score))