W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_dictionary_nested_2.py:
child1 = { "name" : "Phoebe Adele", "year" : 2002 } child2 = { "name" : "Jennifer Katharine", "year" : 1996 } child3 = { "name" : "Rory John", "year" : 1999 } myfamily = { "child1" : child1, "child2" : child2, "child3" : child3 } print(myfamily)