I'm getting and unexpected indent error on a very basic calculator program for Python 3.3. http://pastebin.com/KJ1eke9S
Can you describe a little more in terms of messages or irregularities that occurred during execution? Side question: A try without exception handler would not do you much, would it?
During execution a dialog box appeared saying unexpected unindent. That's it. The try and exception are so if the user does something incorrect it can rerun the program.
Did it give a line number of the offending line?
Yes, on startObj = start()
Perhaps you could try easing the line to the right, and line up with the last "if".
or the "try".
Wait, I see the problem. I had no except line in the start class.
"Side question: A try without exception handler would not do you much, would it?" That's what I meant!
Ahah
I didn't quite get it.
Now I'm getting and invalid syntax dialogue box on startObj.run()
Wait, I was messing a parentheses
@giggitygil So everything is ok now?
Join our real-time social learning platform and learn together with your friends!