+ 1
Where to use break and ' : '
I am trying to make a simple calculator by using codes of solo learn but so.ething happens wrong it displays an error in Python IDLE.
4 odpowiedzi
+ 3
Be careful with the indentation of your code, as this is what python uses to distinguish between the different blocks.
Are you saving the code in a .py file, opening it with IDLE, and then running it (F5)?
+ 1
Yes! I am trying that
+ 1
expected an indented block
This message pops up
0
If it doesn't work, what errors are you getting?