1/11 Lesson Number One (SOLVED)


#1

Everytime i run my code I get "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' : [],
    }

Im not sure if im jst missing a glaringly obvious flaw but I have been stuck on this for ages now and can find any solutions in previous threads.

Thanks for any help


#2

What's the value corresponding to the 'name' key in that dictionary? What does the error suggest that it should be?
Are they the same?


#4

wow. It was literally just capitalising the "L" in "Lloyd" that was throwing the error.
face_palm

Thanks for pointing that out