+ 1

Getting different result from guide

So I tap on the "TRY IT YOURSELF" for the following guide print(float(input("Enter a number: ")) + float(input("Enter another number: "))) I key in 3 (enter) 4 > submit Result: Enter a number: Enter another number: 7.0 Am I the only one who got this?

14th Jun 2020, 10:53 AM
Kenetf Tan
Kenetf Tan - avatar
2 Respostas
+ 3
That's the correct answer. What's the issue?
14th Jun 2020, 11:10 AM
Calbaros
Calbaros - avatar
+ 1
Is it? I thought the output result should be as per the guide Result: Enter a number: 3 Enter another number: 4 7.0 So in that way u know what u had keyed in
14th Jun 2020, 11:38 AM
Kenetf Tan
Kenetf Tan - avatar