Oct-10-2016, 10:09 PM
(Oct-10-2016, 09:58 PM)Yoriz Wrote: You will get the same error if you include the float conversion in it, remove the float to just print the value that is trying to be converted as shown in my previous post.
Thank you Yoriz. You are right. So after removing the "float" thing, I got this error:
Error:Traceback (most recent call last):
File "<pyshell#65>", line 1, in <module>
print(y.strip().replace(',', ''))
NameError: name 'y' is not defined