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


#1



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

https://www.codecademy.com/courses/python-beginner-sRXwR/0/2?curriculum_id=4f89dab3d788890003000096#


""" 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


#2

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


#3

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


#4

praline isn't defined. You defined paline.


#5

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