Python Python Basics (2015) Python Data Types String Formatting

Lost on this one.

Just drew a blank
name = "David"

1 Answer

The challenge asks you to use .format to put the name variable into the string "Treehouse loves {}". You currently have your .format attached to nothing. You also told it to


you need to


So, your code needs to have the string "Treehouse loves {}" formatted with name. You also need to assign the formatted string the name subject. Does that make sense? Hope this helps. :)