0
[Python input] Why doesn't the x in the last line register?
print("What is your name?") x=input("Mia") print(x) print('\nalright' + x + '\nnice to meet you') (It just prints "alright nice to meet you")
2 Answers
+ 3
print("What is your name?")
x=input("Mia")
print(x)
print('\n alright ' + x + '\n nice to meet you')
("It just prints alright nice to meet you")
it works
+ 3
Hi Zaquinta!
In order to print your input in output , you need to provide it in Sololearn alert box.
Sololearn ide works little more different than others.
Promt message isn't working properly here.
Run -> your input -> submit