I'm a little bit confused about this one.

So, I typed out a code, and of course, it failed like usual, but this time, I can't find a way to solve it.

The code is basically:

favorite_color = input("What is your favorite color? ")

# print output seperately
print("Your favorite color is " + favorite_color + "!")

Now, as you can see in the picture, it basically prints both the input prompt and the output message yet I only want the output to be "Your favorite color is (color)!"

If anyone has any idea how to do this, I'd love the help!​

Im a little bit confused about this oneSo I typed out a code and of course it failed like usual but this time I cant find a way to solve itThe code is basically class=