File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ def check_guess(guess, answer):
1212 guess = input ("Sorry Wrong Answer, try again" )
1313 attempt = attempt + 1
1414 if attempt == 3 :
15- print ("The Correct answer is " ,answer )
16-
15+ print ("The Correct answer is " , answer )
16+
17+
1718score = 0
1819print ("Guess the Animal" )
1920guess1 = input ("Which bear lives at the North Pole? " )
2021check_guess (guess1 , "polar bear" )
2122guess2 = input ("Which is the fastest land animal? " )
22- check_guess (guess2 , "Cheetah " )
23+ check_guess (guess2 , "cheetah " )
2324guess3 = input ("Which is the larget animal? " )
2425check_guess (guess3 , "Blue Whale" )
25- print ("Your Score is " + str (score ))
26+ guess4 = input ("Who is the G.O.A.T in football? " )
27+ check_guess (guess4 , "ronaldo" )
28+
29+ print ("Your Score is " + str (score ))
You can’t perform that action at this time.
0 commit comments