def func1(a,b=1): return a+b print(func1(10)) #这个时候b就会用默认值 print(func1(10,0)) #
37,721
社区成员
34,239
社区内容
加载中
试试用AI创作助手写篇文章吧