Strings, lesson 2 about (caesar, praline, viking)


pleas help me i do not know what is wrong...

""" File "python", line 5
paline = "John

SyntaxError: EOL while scanning string literal"""

it shout create a variable called caesar...

# Assign your variables below, each on its own line!

caesar = "Graham"

paline = "John

viking = "Teresa"

# Put your variables above this line

print caesar
print praline
print viking


You need to close your string. Put a " at the end of John.


Traceback (most recent call last):
File "python", line 12, in
NameError: name 'praline' is not defined

it say's this when i add the " after John


praline isn't defined. You defined paline.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.