From e0b6e8974ad894652590be3b94adc96944126722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=93=B6=E5=86=9B?= Date: Mon, 8 Dec 2025 17:38:09 +0800 Subject: [PATCH] no message --- pythonProject/内置函数/1.py | 5 +++++ pythonProject/内置函数/2.py | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 pythonProject/内置函数/1.py create mode 100644 pythonProject/内置函数/2.py diff --git a/pythonProject/内置函数/1.py b/pythonProject/内置函数/1.py new file mode 100644 index 0000000..c71d2b4 --- /dev/null +++ b/pythonProject/内置函数/1.py @@ -0,0 +1,5 @@ +# 内置函数 +print('123456') # 打印输出函数 +a = sum([1,2,3]) # 求和函数 +print(a) +print(type(a)) diff --git a/pythonProject/内置函数/2.py b/pythonProject/内置函数/2.py new file mode 100644 index 0000000..e44a195 --- /dev/null +++ b/pythonProject/内置函数/2.py @@ -0,0 +1,6 @@ +# 自定义函数 +def hehe(a,b,c): + print('hehe:'+a+b+c) + + +hehe('x','y','z') \ No newline at end of file