print(on line there' backslash right before the single quote\note that is backslashand is forward slash this backslash tells you that the letter right after it is an escape character an escape character lets you print characters that are hard to enter into the source code on line the escape character is the single quote the single quote escape character is there because otherwise python would think the quote meant the end of the string but this quote needs to be part of the string the escaped single quote tells python that the single quote is literally part of the string rather than marking the end of the string value some other escape characters what if you really want to display backslashthis instruction would not workprint('they flew away in green\teal helicopter 'they flew away in green eal helicopter this is because the "tin "tealwas seen as an escape character since it came after backslash the escape character simulates pushing the tab key on your keyboard insteadtry this lineprint('they flew away in green\\teal helicopter 'they flew away in green\teal helicopter table - is list of escape characters in python table - escape characters escape character \\\\ \ what is actually printed backslash (\single quote ('double quote ("newline tab quotes and double quotes strings don' always have to be between single quotes in python you can also put them between double quotes these two lines print the same thingprint('hello world'hello world