What am I doing wrong? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What am I doing wrong?

I am trying to learn python 3 and I have been trying to play with variables in a simple manner and have been getting errors so I switched to just integers and the output is spitting out the same error. How do I fix this? https://code.sololearn.com/cKE56244SvLL/?ref=app

21st Apr 2018, 4:33 PM
Damion
5 Respuestas
+ 3
if not If case sensitive! if 7 < 10: print("Less than 10") if 7 > 3: print("Greater than 3 but less than 10")
21st Apr 2018, 4:35 PM
Emma
+ 2
Making mistakes while learning is good, that’s the correct road 👍
21st Apr 2018, 4:46 PM
Luigi
Luigi - avatar
+ 2
can i just mention something i found when i was coding on my tablet...i had to turn off capitalisation in my settings, unlike my pc or mobile very annoying when you are focusing on coding and cant see the case sensitive error...just in case you have a same kind of setup with what ever device you are using.
21st Apr 2018, 4:51 PM
Jacqui Whiteley
+ 1
Xan wooow......I feel really dumb but I'm just starting to learn so it's bound to happen. Thank you so much!
21st Apr 2018, 4:36 PM
Damion
+ 1
Jacqui Whiteley Thats my main problem. When I am typing it out on mobile I don't think about spellchecker and auto cap. I think I might just turn it off, thanks for the advice.
21st Apr 2018, 4:58 PM
Damion