我们来设计一个简单的函数,这个函数的作用就是将tuple参数内所有的数据相加求和: >>> def add(*args): ... print(args) ... print(type(args)) ...
確定! 回上一頁