0
Back to front.
x = input("33") print("You entered: " + x) Results in being : 33You entered This is back to front. Shouldn't it be: You entered 33? This apps lessons are starting to fail at teaching from this point onwards.
4 Antworten
+ 4
The string inside input() is not the input – it is an optional hint
x = input() # that's all
or
x = input("Enter something: ")
+ 1
I think delete input() like this
x = 33
+ 1
Even if I change the input() to a string it will see output as the input() value first then the "You entered: " + x second.
So it is back to front.
Shouldn't the message say
You entered (then the value of the input)?
+ 1
Im not master so sorry.