Phyton Somebody can help me?


#1

Create three dictionaries: lloyd, alice, and tyler.

Give each dictionary the keys “name”, “homework”, “quizzes”, and “tests”.

Have the “name” key be the name of the student (that is, lloyd’s name should be “Lloyd”) and the other keys should be an empty list (We’ll fill in these lists soon!)


#2
student = {
    name: "",
    homework: [],
    quizzes: [],
    exams: []
}

#3

@mtf Isn’t that giving him the answer though?


#4

Yes and no. Sometimes people just need to see it for themselves to realize they have the right idea, especially when their confidence is low. In the earliest stages the challenge is not whether one can think things through and design a program, it is remembering, mostly, and getting muscle memory, etc.


#5

@mtf Okay. Thanks for telling me!


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.