Python Python Basics Meet Python Using Input

Christian Beckett
Christian Beckett
3,448 Points

so how would I put more than one color into the system?

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

3 Answers

Nenad Ristov
Nenad Ristov
3,366 Points
favorite_color= input ('what is your favorite color')
print("The color {} is a great color!".format(favorite_color))

I passed with this code

Nenad Ristov
Nenad Ristov
3,366 Points

print = ('The color {} is a great color!'.format.(favorite_color))

Christian Beckett
Christian Beckett
3,448 Points

so i put what was asked o me but all i got was a synthax error what now?