Python从入门到放弃_函数的参数 -- 动态参数
摘要:
# def eat(a,b,v,f,g):# print(a,b,v,f,g)## eat('方便面','包子','麻团','豆浆','咸菜') # def eat(a,b,*args): # 聚合 打包 # print(a,b,args) # 元祖# # 形参位置 : 位置参数 > 动态位置参数# 阅读全文
posted @ 2019-01-15 19:52 FP233 阅读(98) 评论(0) 推荐(0)
浙公网安备 33010602011771号