0
How can I save user input in Python as int/float?
Iâm trying to save user input as float but I canât. Iâm getting an error. Can someone help me please? Thanks float(x=input()) x+=x print(x)
1 Answer
+ 2
x = float(input())
x+=x
print(x)
Iâm trying to save user input as float but I canât. Iâm getting an error. Can someone help me please? Thanks float(x=input()) x+=x print(x)