File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 country = "Scotland"
3535
3636print ("In this program you will need to guess the country I am thinking of" )
37- print ("I am thinking of a country between London and Japan" )
37+ print ("I am thinking of a country between London and Japan. Good luck. " )
3838
3939while True :
40- guess = input ("Enter your guess: " )
40+ guess = input ("Please enter your guess: " )
4141
4242 if guess .lower () != country .lower ():
4343 randomphrases = random .randint (1 , 5 )
4444 wrongguesses = wrongguesses + 1
4545 if randomphrases == 1 :
46- print ("Interesting guess, but not quite! " )
46+ print ("That was a interesting guess, but not quite. " )
4747 if randomphrases == 2 :
48- print ("That's not right :(" )
48+ print ("Welp. That was not right :(" )
4949 if randomphrases == 3 :
5050 print ("Nice guess, but it's not this one." )
5151 if randomphrases == 4 :
52- print ("Nah " )
52+ print ("Nuh uh " )
5353 if randomphrases == 5 :
5454 print ("Wrong guess" )
5555 if guess .lower () == country .lower ():
6464 print ("You won!" )
6565 input ()
6666 if wonrandomphrases == 2 :
67- print ("Congratulations, you guessed it right" )
67+ print ("Congratulations, you guessed it right! " )
6868 input ()
6969
7070 if wonrandomphrases == 4 :
71- print ("GGs, you guessed it right" )
71+ print ("GGs, you guessed it right! " )
7272 input ()
You can’t perform that action at this time.
0 commit comments