Форум сайта python.su
0
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!)
lloyd = { "name": ["Lloyd"], "homework": [], "quizzes": [], "tests": [], } alice = { "name": ["Alice"], "homework": [], "quizzes": [], "tests": [], } tyler = { "name": ["Tyler"], "homework": [], "quizzes": [], "tests": [], }
Офлайн
103
lloyd = { "name": "Lloyd", "homework": [], "quizzes": [], "tests": [], } alice = { "name": "Alice", "homework": [], "quizzes": [], "tests": [], } tyler = { "name": "Tyler", "homework": [], "quizzes": [], "tests": [], }
Офлайн
0
terabayt, спасибо.
Офлайн