0
Ask two questions : person's name and favorite color. Then print a message like 'Victor likes blue'
So I worked it out using Python but things aren't not going well. Am a newbie help me out. This is my code please Correct it for me. name= input('what is your name?') favourite color=input('what is your favourite color') print(name + 'likes' + favourite color)
3 Answers
+ 2
You can't name the variable "favourite color" â it needs to be one word, e.g."favorite_color"
0
Ok let me try that out and see
0
It works now thanks to you