Lesson one, please help before i destroy my computer


#1

my code is listed below, i read a few replies to similar posts saying to remove the brackets around the names but that still doesnt do anything. i still get the code Oops, try again. The name key does not have the value "Lloyd" in your lloyd dictionary. i have no idea why, could someone please explain whats going on here

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


#2

The last field in a list does not need a comma. And try using a number instead of [].
Like this:

aList = {
    "one": 1,
    "two": 2,
    "three": 3                                #be aware, no comma here!
}

#3

i removed the commas on the last entries but the assignment requires the use of names.
i still get the error Oops, try again. The name key does not have the value "Lloyd" in your lloyd dictionary.


#4

The answer is case-sensitive, so it should be exactly Lloyd. And you have lloyd, without capital letter.


#5

thats ridiculous but thank you


#6

for any stuck on this stupid exercise this is the code. the names must be lower case then when stated after "name": the first letter must be capitalized

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