diff options
-rw-r--r-- | LectureNotesOnPython.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LectureNotesOnPython.rst b/LectureNotesOnPython.rst index e923444..eb36053 100644 --- a/LectureNotesOnPython.rst +++ b/LectureNotesOnPython.rst @@ -931,6 +931,11 @@ key与value互换 return d2 +字典里面可以有字典 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code:: python + d = { 'john':{'dob':'1990-10-23', 'height':'6 feet 5 inches'} } 函数 |