Python Python Basics Meet Python Create a Variable

Clayton Bowland
Clayton Bowland
2,874 Points

output variables

not sure about this ?
favorite_color = (" blue ");
print ("The color blue is my favorite!") 

1 Answer

James Arnold
James Arnold
3,930 Points

You're so close! There just a few corrections to be made.

We don't need a semicolon after the string in the favorite_color variable

You put the word blue in your print string. Instead, in it's place, bring in your favorite color variable so that we can interchange it if you decide you have a different favorite color later.

print('I love the color ' + favorite_color)