Apr-02-2017, 07:35 PM
Please use python tags for your code. You were asked once already.
The error you are getting is because you entered something that is not a floating point integer. It depends on what you entered. To avoid this you would check for correct input before/while you convert to float. There are several ways to do this, I'm not sure what you have covered so far. I would typically use try/except or sets.
The error you are getting is because you entered something that is not a floating point integer. It depends on what you entered. To avoid this you would check for correct input before/while you convert to float. There are several ways to do this, I'm not sure what you have covered so far. I would typically use try/except or sets.
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