"Looks like your program needs a input" What is wrong with this following code 🤨🤔???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

"Looks like your program needs a input" What is wrong with this following code 🤨🤔????

Hello, learner. Can you help me please, i download this app, yesterday and i don't understand why the following message his display when i run my code. Maybe my code is wrong but i already check in python checker on Google. Thanks CODE food = ("ell me what is your favourite food:") Input("your favorite food:'' + name)

13th Nov 2023, 6:57 AM
Lilian PENE
Lilian PENE - avatar
3 Answers
+ 2
Where is the variable "name"? You don't have it I the above. Can you please review your lessons, read the following and if you're having problems, update your question accordingly: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app https://code.sololearn.com/WZ8lkR6gTex6/?ref=app https://code.sololearn.com/W3uiji9X28C1/?ref=app https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
13th Nov 2023, 8:25 AM
Ausgrindtube
Ausgrindtube - avatar
+ 2
I think the right code looks like food = input("tell me what is your favourite food : ") print("Your favourite food", food)
13th Nov 2023, 5:35 PM
Parveen Kumar
Parveen Kumar - avatar
0
Thanks a lot !
14th Nov 2023, 8:22 AM
Lilian PENE
Lilian PENE - avatar