Where did I go wrong here?


#1



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


I followed the instructions but it says incorrect syntax, I dont understand what I did wrong


I thought that I followed the code exactly, and it would let me pass on


Replace this line with your code. 

print caesar  "Graham"
print praline = "Jhon"
print viking = "Teresa"


#2

you just have to set caesar to "Graham".

remove the print statement.It's invalid syntax.Also you missed = sign for caesar


#3

So the code would be
Graham = caesar?
Thx


#4

Ok I removed all the print options so my code looks like this but it says that I did not create a variable called caesar.

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

ceasar = "Graham"
praline = "Jhon"
viking = "Teresa"

is my code


#5

You are on the right track. It's really important to make sure that the spelling is correct. There are two instances where I see that the spelling is incorrect for two names. Fix them up and you should get it right. Also, even if you check it, the console will tell you what the error might be (like it does right now when it said the it could "not create the variable called caesar."


#6

Thanks for part of the help futurenotion but even after I changed Jhon to John it still said I did not create the variable caesar.

Code:
ceasar = "Graham"
praline = "John"
viking = "Teresa"

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

Thx for helping


#7

never mind I got It thanks for the help futurenotion


#8

Same mistake i did. First you have to give the value to the variable THEN print it. So the code will be:

caesar = "Graham"
praline = "John"
viking = "Teresa"

print caesar
print praline
print viking


#9

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