1. Lesson Number One


#1

Please help me figure this out. I have been stuck on this exercise for about 15 minutes. Please type your code in the response. Thanks.


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

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


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


#2

you created a dictionary called students, which contains a list called lloyd. You should have created a dictonary lloyd:

lloyd = {
  // i am a dictionary. 
}

#3

Thank you very much!