0

Error

print(float(input("Enter a number: ")) + float(input("Enter another number: "))) Sir , above line shows error in the output . So what's the solution for that because the above expression by the soloLearn itself in try it yourself area

2nd Jun 2019, 6:31 AM
ashish negi
ashish negi - avatar
1 Resposta
+ 1
If you are using the Sololearn app, python cannot take multiple inputs while the program is running, so you should input the floats with a line break
2nd Jun 2019, 6:47 AM
Airree
Airree - avatar