Why is this not working?
By
TheGrim123321
in Programming
in Programming
Go to solution
Solved by alexboz,
The input is being received as a string, you have to parse it as a float to do math on it. I don't really know python, but a quick google search leads me to this:
final_weight = (float(base_weight)-float(new_weight))
Try this and see if it works.
-
Topics
-
0
-
0
-
0
-
0
-
l3eyond ·
Posted in Programs, Apps and Websites0 -
1
-
Serendipity1344 ·
Posted in Graphics Cards4 -
1
-
1
-
5
-

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now