Python Python Basics (2015) Python Data Types Strings

3 Answers

Thomas Fildes
Thomas Fildes
16,201 Points

Hi Sardor,

Here is the correct code below:

name = "Type Your Name Here"

subject = "Treehouse loves {}".format(name)

I've been doing this and i am still getting an error

well u dont need to write:- subject = "treehouse loves {} ".format(name) u need to write this:- subject = 'treehouse loves {} '.format(name) just dont use the " and use '