It's not working: Student becomes teacher


#1

My code isn't working even though I listened to the instructions and followed it.

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

#2

You need to have commas in your dictionary​. for example: Lloyd should have a comma after it, and after your empty lists too. (example: [ ] should have a comma after it).


#3

Thanks it helped this is my new code

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

#4

A post was split to a new topic: Student become teachers


#5