Unhandled exception: '<' not supported between instances of 'str' and 'float'