Python编程——函数
函数的作用:
降低编程难度,将大问题分解为小问题。
实现代码重用,提高工作效率。
1、传值调用
Eg1:
[root@cate my_python]# python test_func
please input the value of s:h

Python编程——函数
函数的作用:
降低编程难度,将大问题分解为小问题。
实现代码重用,提高工作效率。
1、传值调用
Eg1:
[root@cate my_python]# python test_func
please input the value of s:h