+ 1
Can anyone explain
def textfun(x,y=[]): y.append(x) return y a=textfun(1) b=textfun(2,[]) c=textfun(3) print(c)
2 Antworten
+ 2
So nice of you that you explain nicely
def textfun(x,y=[]): y.append(x) return y a=textfun(1) b=textfun(2,[]) c=textfun(3) print(c)