1. Lesson Number One


#1

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

Hi,
I read through some of the other solutions and I'm already listing 'name' as a string. Not sure what else it could be.

The error message:
Oops, try again. Did you create a dictionary named lloyd? Your code threw a "global name 'lloyd' is not defined" error.

The error in the window:
File "python", line 2
"name": = "Lloyd",
^
SyntaxError: invalid syntax

Thanks for any insight you might be able to provide!

My code below:

lloyd = { 
    "name": = "Lloyd",
    "homework": = [],
    "quizzes": = [],
    "tests": = [],
    }
    
alice = { 
    "name": = "Alice",
    "homework": = [],
    "quizzes": = [],
    "tests": = [],
    }
    
tyler = { 
    "name": = "Tyler",
    "homework": = [],
    "quizzes": = [],
    "tests": = [],
    }

Lesson Number One - just a question
#2

here:

"name": = "Lloyd",

a colon or a equal sign, which one is it? I can tell you, its not both


#3

thank you so much, that was driving me insane (though apparently I'm already starting to lose it! :p)


#4