0

Could someone tell new why is this output wrong?

print(float(input("Enter a number: ")) + float(input("Enter another number: "))) enter a number: 45 enter another number: 5

27th Feb 2017, 4:49 PM
Irma
3 odpowiedzi
0
Im writing it on the app platform, there's an alert that says 'looks like your program needs imput' and the output gaves me a syntaxError: invalid syntax.
27th Feb 2017, 5:51 PM
Irma