+ 1
I tried to write the code for the simple calculator. when i run it through idle it works. but when i execute it it closes immediately after typing an option. how to fix it?
3 Respostas
+ 2
Share the code and let's see what's the problem.
+ 2
if you execute it by double clicking, then python interpreter considers it's job done as soon as it gets to the last line of your program so you could add something like:
input("Press Enter to exit")
to block it. if you don't execute it by double clicking, then we will need to see the code.
0
let's see the code jeryl.