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)