0
Can someone help me with this
I am writing print(float(input("Enter a number:"))) + float(input ("Enter another number")) Enter a number: 5 Enter another number: 2 it is showing an error why
5 Respostas
+ 6
https://code.sololearn.com/cVF2vhkAUPVW/?ref=app
Enter two numbers. And it works fine
+ 5
Check your parentheses.
print(float(input("Enter a number:")) + float(input ("Enter another number")))
+ 5
If you are still having issues. See
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2441/?ref=app
https://code.sololearn.com/c701ovwLEj3R/?ref=app
It might help
+ 3
You could also separate the input calls and store the results into variables. Which would make for better code as you could check for missing values.
0
he is again showing an error by using this code.He shows an error in Enter a number:5