summaryrefslogtreecommitdiff
path: root/LectureNotesOnPython.rst
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2019-08-01 00:13:54 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2019-08-01 00:13:54 +0800
commita2327a5b312ad9fd42e196499ec3183b4279c047 (patch)
tree700c9593b368fea58e58212063d204beda4c03c2 /LectureNotesOnPython.rst
parent148dfcc264ef295bdf44623e431d9713eb8dd8e5 (diff)
LectureNotesOnPython.rst:修改节名
改成函数的定义
Diffstat (limited to 'LectureNotesOnPython.rst')
-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):