Python Python Basics Meet Python Create a Variable

Allison Liu
Allison Liu
66 Points

i need help how do i do this

help me plz

using_variables.py
favorite_color = "blue"
print(favorite_color)

?

1 Answer

Rufus Mathews
Rufus Mathews
3,653 Points

For the second part of the challenge, you need to use the .format method to put favorite_color into the string that they have provided you.

Example:

print("Some text {}".format(a_variable))
Allison Liu
Allison Liu
66 Points

im really confused