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?
5 Respuestas
+ 1
Run the code on an external IDE. That's just how input works in SoloLearn
+ 1
Per Bratthammar i tried and it printed
Write your name:
me
So strange that a blank print() outputs my inputprompt
0
Can you share a link to your code?
0
# Hi! You can try this one:
Name = input("write your name: ")
print()
print(Name)