summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LectureNotesOnPython.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/LectureNotesOnPython.rst b/LectureNotesOnPython.rst
index 6b59791..0c5a1b2 100644
--- a/LectureNotesOnPython.rst
+++ b/LectureNotesOnPython.rst
@@ -556,10 +556,13 @@ Python脚本文件命令行执行
-函数头的三要素
+函数的定义
---------------------------------------
-def,函数名,参数列表:
+函数头三要素: def,函数名,参数列表。
+
+
+两个函数定义的例子。
| def add_number(a, b):