0
What's wrong in this code?
name = input("what is your name ? ") favourite_color = input("what is your favourite_color ? ") print (name + " likes " + favourite_color)
7 Respostas
+ 3
Nothing wrong.
Give all your input at once in the playground because it is not interactive.
Eg-
Mahi
Red
+ 3
Example.
+ 2
The output is not pretty, but no error is showing.
Avinesh has probably resolved your problem concerning Sololearn requirement that all inputs are entered before SUBMIT
+ 2
What is Eg??
+ 1
Thanks!!
it worked .
That means I have to give the inputs at once
0
Eg = Example
0
There is nothing wrong in it