0

Input prompt not working as intended

When i write Name = input("write your name: ") Print(Name) I would expect the input prompt to say " write your name" and then when i reply with "me" i would expect the print to only show "me". Instead the prompt just says "it looks like your input is needed" And then the print says "write your name: me" What am i doing wrong?

23rd May 2022, 3:41 PM
kaiyotic belgian
5 Respuestas
+ 1
Run the code on an external IDE. That's just how input works in SoloLearn
23rd May 2022, 4:01 PM
Slick
Slick - avatar
+ 1
Per Bratthammar i tried and it printed Write your name: me So strange that a blank print() outputs my inputprompt
23rd May 2022, 4:07 PM
kaiyotic belgian
+ 1
Slick thank you, i did download a mobile python IDE app, ran the code and it worked as I thought it would. So it's a sololearn thing like you said. Thank you
23rd May 2022, 4:25 PM
kaiyotic belgian
0
Can you share a link to your code?
23rd May 2022, 3:52 PM
Justice
Justice - avatar
0
# Hi! You can try this one: Name = input("write your name: ") print() print(Name)
23rd May 2022, 3:54 PM
Per Bratthammar
Per Bratthammar - avatar