+ 1
basic concept -type conversion
print( float(input("Enter a number: ")) + float(input("Enter another number: "))) ^ ^ this code is not working
2 ответов
+ 1
try jest like this
a=(float(input("enter first number")))
b=(float(input("enter second number")))
print( a + b )
0
It is. Just that you only get input once in this code playground. Enter multiple inputs into multiple lines.