Feb-05-2019, 04:00 PM
If you are expecting the user to press enter at that point, you should not be converting it to int (line 15). You should just do nothing with it.
Note that t4 on line 7 is always going to be None, because you are using print instead of input. I would also say that eval is overkill for this situation. I would use int or maybe float.
Note that t4 on line 7 is always going to be None, because you are using print instead of input. I would also say that eval is overkill for this situation. I would use int or maybe float.
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