一、.函数的特点:可以重复使用
# 内置函数
# print input len type str int float list range
# pop append insert keys split replace strip
# remove clear
二、函数的语法
1)用法
def 函数名(参数1,参数2,参数3):函数体
调用:函数名()
def da_lao(name="花花"): # 形参/位置参数 2)默
一、.函数的特点:可以重复使用
# 内置函数
# print input len type str int float list range
# pop append insert keys split replace strip
# remove clear
二、函数的语法
1)用法
def 函数名(参数1,参数2,参数3):函数体
调用:函数名()
def da_lao(name="花花"): # 形参/位置参数 2)默