Apr-24-2017, 02:45 PM
The float function doesn't change the variable, it creates a new floating point number from the string. So you need to assign it to something. Often you just do
a = float(a)
. Then you don't have to keep converting after the initial conversion. That should clear up your error.
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