1. lesson number one


#1



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

File "python", line 2
lloyd = {
^
IndentationError: unexpected indent

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

what is my mistake


Replace this line with your code.


#2

lloyd, alice and tyler are you dictionaries, you don't need my_dict_


#4

you had everything correct except you didn't need my_dict_ because the names of the students are each dictionaries themselves


#5

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