Intro to python. https://www.codecademy.com/courses/python-beginner-en-kSQwt/0/1

Birthday party invitation
I can’t seem to get my code to work right. can anyone help?
Exercise goal: Practice using and printing strings.

Help us finish our birthday party invitation.

So far, we have 3 variables: name, location, and time. We print one sentence using the name variable.

Instructions
Your job:

Finish the card by printing when and where the party is, using the location and time variables to piece together the string:

“The party will be at ____ and starts at ____.”

Add your print statement below the existing code, on line 6.
name = “Jessica”
location = “Grendel’s Cupcake Den”
time = “7:30pm”

print("You are invited to a birthday party for " + name)
print("The party will be at " + location "and starts at " + time)

You’re missing a + sign after variable location and a space after next quotes

Correct line should look like

print("The party will be at " + location + " and starts at " + time)
1 Like

You are a fantastic human! thank you for your quick response and expertise!

If your problem is solved, flag this thread as solved and also flag the solution