+ 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.

25th Jan 2019, 9:28 AM
Ayushman Rana
4 Respostas
+ 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)?
25th Jan 2019, 10:16 AM
Zen
Zen - avatar
+ 1
Yes! I am trying that
25th Jan 2019, 10:19 AM
Ayushman Rana
+ 1
expected an indented block This message pops up
25th Jan 2019, 10:23 AM
Ayushman Rana
0
If it doesn't work, what errors are you getting?
25th Jan 2019, 10:21 AM
Zen
Zen - avatar