I don’t remember being taught a backslash in between two strings for printing.
The only thing I remember is \n to create a break. Is this the same thing?
print "Ah, so your name is %s, your quest is %s, "
“and your favorite color is %s.” % (name, quest, color)
For some reason this post is deleting the backslash as well. It’s supposed to be after the first string.
I tried removing the backslash and it gave me this error:
Traceback (most recent call last):
File “python”, line 6, in
TypeError: not all arguments converted during string formatting