+ 1

Can anyone explain

def textfun(x,y=[]): y.append(x) return y a=textfun(1) b=textfun(2,[]) c=textfun(3) print(c)

2nd May 2020, 7:44 AM
《A$# ☆ $ING#》
《A$# ☆ $ING#》 - avatar
2 Antworten
+ 2
So nice of you that you explain nicely
2nd May 2020, 8:34 AM
《A$# ☆ $ING#》
《A$# ☆ $ING#》 - avatar