diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2019-08-01 00:13:54 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2019-08-01 00:13:54 +0800 |
commit | a2327a5b312ad9fd42e196499ec3183b4279c047 (patch) | |
tree | 700c9593b368fea58e58212063d204beda4c03c2 /LectureNotesOnPython.rst | |
parent | 148dfcc264ef295bdf44623e431d9713eb8dd8e5 (diff) |
LectureNotesOnPython.rst:修改节名
改成函数的定义
Diffstat (limited to 'LectureNotesOnPython.rst')
-rw-r--r-- | LectureNotesOnPython.rst | 7 |
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): |