SyntaxFix
Write A Post
Hire A Developer
Questions
int() only works for strings that look like integers; it will fail for strings that look like floats. Use float() instead.
int()
float()