+ 1
can you guys help me with this?
why does it say syntax error? except: print ("ERROR. OUCURRED DO NOT TYPE IN LETTERS Reason: VALUE ERROR") this part is confusing.
4 Respostas
+ 2
You can't use an except statement without a try statement. (It's like using an else statement without an if statement.)
https://code.sololearn.com/cM455gY6Ytt6/?ref=app
+ 1
G'day Coding Berries and Cream that seems like a nice story! Is that part of an ongoing project?
Your first if won't work
if (Fryer<=90 and Fryer>=199):
The variable cannot be both less than 90 and more than 199. This is Python, so you can write 👉if (90>= Fryer <=199):
But that would fail to catch any cases below 90. What other condition could you use??
0
Also, why are you using a capital letter in your variable? Most coding instructors say to use only lowercase for variable names, only uppercase for constants, and camelCase or snake_case if you really must use multi word variables.
Good habits are their own reward, bad habits are hard to break. ❤️= 🍫 + ☕
0
I tried that already Simon Sauter , but it did not work