Dec-21-2018, 02:51 PM
I think the point of Larz's comment was to get information on the state of the program right before the error, so that you could tell which value is causing the problem. Although, it would help if you used {!r} in place of {} in his format statement, which would distinguish '5' from 5.
Based on the error, I expect it's num2. I would also note that you are not converting to integer in mulitply_num as you are in calc_sum.
Based on the error, I expect it's num2. I would also note that you are not converting to integer in mulitply_num as you are in calc_sum.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures