Lesson n°1


#1



I don't get what's wrong with the code I wrote?Why does it not recognise "Lloyd"?
This is the error I receive: Oops, try again. The name key does not have the value "Lloyd" in your lloyd dictionary.


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


#2

even without the "," after "tests": [], it still doesn't work.


#3

the names should be strings, not lists


#4

geez.... thanks for helping me out!


#5

I'm having the problem. Not sure why.


#6

#7

Please go here, make a new topic, fill in the template so we can help you