Hey there, and welcome to the Codecademy forums!!
Currently it appears you are trying to supply two arguments to the
print() function. The first being a variable
joe, and the second being a string
"asks am I going to buy a pair of earrings todat?:"
Think about why you are getting a syntax error here. What do you need to do to provide two arguments?
Hint if needed
Based on the hint provided with the lesson, I don’t think you actually want to pass two arguments in this case. Currently do you actually have a variable,
joe, defined in the program? And if you do, my question is why? Based on the hint, it would probably be better for you to use the string concentation they are showing.
You have one variable,
name, which holds string of the users name that is added to the string,
" asks: ", followed by a variable,
question, which holds the string of the users question.
String concentation uses
+ to combine two or more strings together:
string_1 = "string 1"
string_3 = "string 3"
print(string_1 + " string 2 " + string_3)
>> string 1 string 2 string 3
I fixed a typo in the way I had my strings named above, hopefully that didn’t throw you off.