Lesson Number One


#1

My code doesnt work and i dont know why.. Can anyone help me please?

"""Dictionary1"""
lloyd = {
"name",
"homework",
"quizzes",
"tests"
}

"""Dictionary2"""
alice = {
"name",
"homework",
"quizzes",
"tests"
}

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


#2

You aren't using proper dictionary syntax.

var_name = {
    key: value,
    key2: value2,
}

#3

ohh, thank you, i tought i can use empty keys


#4

You can, but they cannot be blank.


#5

Ive put [] to the code and its working, soo thank you ery much :wink: