x = float(input("Please insert money: "))
Traceback (most recent call last):
File "/home/J2Carter/calc1.py", line 8, in <module>
x = float(input("Please insert money: "))
ValueError: could not convert string to float:
That happens when the user enters a string how can I fix that?