Sep-05-2018, 05:14 AM
I have a simple assignment to basically get name and address information and display it neatly with a single print statement. I'm getting an error "Unexpected character after line continuation character", but Googling the issue has brought me here to ask the question and hopefully get an answer as it pertains to my code.
Thanks in advance to anyone with any advice. This is the second week of class and I'm actually enjoying every bit of it! Working towards a B.S. in Electronics Engineering.
firstName = input("What is your first name? ") lastName = input("What is your last name? ") houseNumber = input("What is your house number? ") streetName = input("What is the name of the street you live on? ") cityName = input("What city do you live in? ") stateName = input("What is the two letter abbreviation of the state you live in? ") zipCode = input("What is your zip code? ") print(firstName, lastName\nhouseNumber, streetName\ncityName, stateName zipCode)I know it's something simple that I'm just not seeing, all of the other simple programs I've done so far have had only minor issues that I was able to resolve. This, however, is bugging the crap out of me and I hope someone can show me where the mistake is.
Thanks in advance to anyone with any advice. This is the second week of class and I'm actually enjoying every bit of it! Working towards a B.S. in Electronics Engineering.