python基础~10( args)

可变长参数web # def test(x): # y=2*x+1 # return y # y=test(3) # print(y) # def t(): # x=3 # y=2*x+1 # print(y) # t() # 返回值个数=0:返回none # 返回值个数=1:返回Object # 返回值个数>1:返回Tuple # 形参变量只有在被调用时才
相关文章
相关标签/搜索