Lesson Number One


#1

Hello, codecademy!
I'm stuck at the very first part of the exercise, what am I doing wrong? I don't get it.
What is wrong with the syntax here? And what does this error message mean?

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

Here's my code:

lloyd = {
  "name": "Lloyd",
  "homework": [],
  "quizzes": [],
  "tests": [],
}

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


  File "python", line 15
    tyler = {
          ^
SyntaxError: invalid syntax


#2

Hi @haikara,

In this code for the alice data ...

alice = {
  "name": "Alice",
  "homework": [],
  "quizzes": [],
  "tests": [], 
{

... check the closing brace, which you have as {. It should be }.


#3

Oh man. I'm dumb, but I'm working on it. Thanks a lot!! :smiley:


#4