注意元组前面加*号传入python函数时,元组中的元素被解开作为独立的参数依次传给python函数。 def add(x1,x2): print x1+x2 opnds = (1,2) add(*opnds) 输出结果: 3