From a2327a5b312ad9fd42e196499ec3183b4279c047 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 1 Aug 2019 00:13:54 +0800 Subject: =?UTF-8?q?LectureNotesOnPython.rst:=E4=BF=AE=E6=94=B9=E8=8A=82?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改成函数的定义 --- LectureNotesOnPython.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'LectureNotesOnPython.rst') 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): -- cgit v1.2.1