its not working
YusufsAvange (0)

My code doesnt work, and I cant figure out what to do. I'm a beginner in programming, I just want to code things because i get bored.

You are viewing a single comment. View All
Geocube101 (258)

Syntax on Line 9 is incorrect
Try:

print("Hello" + firstname + " " + lastname + "\nWelcome to my Pawn Shop")

or

print("Hello", firstname, lastname, "\nWelcome to my Pawn Shop")

or maybe even

print("Hello {} {}\nWelcome to my Pawn Shop".format(firstname, lastname))
YusufsAvange (0)

@Geocube101 thanks so much for the help, it works now