FriendlyFireX
Programmer
Hi, I'm new to these forums and I was hoping you guys could help me with a problem. My friend was writing a script in Python and he asked me to come over to debug his script. One of the problems was with the calculator part of his script. It will ask for say, 2 numbers to add. The prompt will read "enter the first number:" or something, and if you don't enter anything and push enter, you get an "unexpected EOF during parsing" error. I was wondering if there's any way to catch this, as we have tried multiple while/if combos/functions. I'll post the script if necessary.
Thanks in advance!
Thanks in advance!