How to i add an attribute to an email in python 3.4.3?

I'm new to Python and i am supposed to be making a quiz where someone can enter their name and complete a quiz. I have completed this part, however, i was also tasked with an email containing the name and results of the user to be sent to a set email. I know the coding to send a standard email without the users... show more I'm new to Python and i am supposed to be making a quiz where someone can enter their name and complete a quiz. I have completed this part, however, i was also tasked with an email containing the name and results of the user to be sent to a set email. I know the coding to send a standard email without the users name/result included is correct as i've already tested it. I just can't seem to add the 'firstname = input ('enter name here')' into the email. Hopefully you can understand, thanks.
2 answers 2