Back to front. | Sololearn: Learn to code for FREE!

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.

1/30/2022 8:55:46 PM

C S

4 Answers

New Answer

+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.