I'm using Python, and I want to ask a user for input to define a variable, then ask for another input using what they inputted into the first question as part of the second question.
That might be confusing. I mean like this:
hometeam = str(input("Home team?"))
ppg = input(hometeam "Average Points per Game?")
print(ppg)
For example, if the user inputs "Cowboys" for hometeam, I'd like the program to ask "Cowboys Average Points per Game?" for the second question.
I'm getting a syntax error with a carrot pointing at the last quotation mark.