+ 1

what is wrong with this code #python

print("hello,and wellcome to sololearn coffee shope") name = input("what is your name? \n") print("hello " + name + ",thanks for coming in today!\n\n") menu = "black coffe\n espresso\n lattae\n cappuchino\n " print(name + ", what would you like form our menu? her's what we serving\n"+menu) order = input() print("that's good one " + name + " sololearn will have that " + order + " ready for you in a moment")

9th Dec 2021, 9:47 AM
kalid
kalid - avatar
3 ответов
+ 3
You can save your code in a script on sololearn and then link it here – that way others can test your code. Try what I suggested about giving input on sololearn!
9th Dec 2021, 9:58 AM
Lisa
Lisa - avatar
+ 2
What problem did you encounter? I don't see any... Just remember that ton sololearn playground, we have to give all input in the beginning (each input in a separate line)
9th Dec 2021, 9:53 AM
Lisa
Lisa - avatar
0
this is what it says when i run it Traceback (most recent call last): File "file0.py", line 9, in <module> order = input() EOFError: EOF when reading a line
9th Dec 2021, 9:56 AM
kalid
kalid - avatar