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 Antwort
+ 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)