7th Jan 2018, 5:46 AM
takudzwa mabuyana
takudzwa mabuyana - avatar
3 Respostas
0
You had the code off by far so I re-wrote it for you import random answer=random.randint(1,100) while True: guess=int(input('')) a=0; if guess > answer: print("Nope Too High") a+=1; elif guess < answer: print("Nope Too Low") a+=1 elif guess==answer: print("You Win, The Number Was " + answer + " And You Got It In Only " + a + " Tries ")
7th Jan 2018, 5:52 AM
Someone Else
Someone Else - avatar
0
Mimita
7th Jan 2018, 8:22 PM
Tinashe Takodza
Tinashe Takodza - avatar
- 2
Because you have the indenting all messed up
7th Jan 2018, 6:10 AM
Someone Else
Someone Else - avatar