Got stuck


#1

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

It tells me this: File "python", line 1
SyntaxError: can't assign to literal

i want to proceed this lesson.

<"brian" = "Hello Life">

#2

you created a variable called name and gave it a value of brian instead of creating a variable brian and giving it a value off Hello life!

Seems you updated the question. " makes things into strings, variable names shouldn't have quotation marks


#3

When you type something in "", it becomes a string, not a variable. And you can't assign something to a string. Actually, you don't need to. If you want to assign Hello Life to Brian, type brian without quotes.

brian = "Hello Life"

#4

I hope this helped you.:smiley:


#5