+ 3
Need assistance in typing conversion
in python print(float(input(..............)))
5 Respuestas
+ 3
then is the \n necessary
+ 2
then how do you write please Enter another number
+ 2
tried it and output was unexpected continuation character.
+ 1
this would generate an error because you could not pass a statement to print() in python ( same as print(i++). thus you should do like this:
NUM=float (input("please enter a number: \n"))
print (NUM)
0
the same way. just save the second input to a second variable