I fixed this code yet i still get no output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I fixed this code yet i still get no output

i fixed this if statrment but when i run it i still get no output! plz help https://code.sololearn.com/cMkFBga31cit/?ref=app

9th Jun 2017, 2:46 PM
Edward Seton
Edward Seton - avatar
2 Answers
+ 3
Good work updating, just an issue with your "else". It looks like a couple people (me too) have chimed in with answers in your code's comments :)
9th Jun 2017, 3:07 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
print ("hello world") x = int(input("enter your faveoret number!")) if x >8: print("thats bigger than 8") elif x<8: print("thats lowr then 8") else: print("thats 8")
9th Jun 2017, 2:53 PM
Bjarte Mehus Sunde
Bjarte Mehus Sunde - avatar