Python Python Basics Meet Python Using Input

Christian Beckett
Christian Beckett
3,448 Points

how do i make it where the favorite color can be more than one color?

using_input.py
favorite_color=input('what is your favorite color?')
favorite_color= "Red"
print('the color', favorite_color,'is a great color!')

1 Answer

Nenad Ristov
Nenad Ristov
3,366 Points

Remove the second line. Also when printing use the format() function it's more practical.