0

What went wrong with this code?

first = input("What is your name? ") favorite_color = ("What is your favorite color? ") print(first + "likes" + favorite_color )

23rd Nov 2020, 12:52 PM
Jurence
Jurence - avatar
2 ответов
+ 2
2nd one has missing input() function... first = input("What is your name? ") favorite_color = input("What is your favorite color?\n") print(first + " likes " + favorite_color )
23rd Nov 2020, 12:53 PM
Jayakrishna 🇮🇳
0
Ohh yeah..thanks alot
23rd Nov 2020, 12:56 PM
Jurence
Jurence - avatar