Hello, what is the output of this simple code ?
def f(x=[]): x.append(1) return x print(f(), f()) a very insightful discussion follows here https://twitter.com/jakevdp/status/1235271748867612673 Thanks Ragini
Hello, what is the output of this simple code ?
def f(x=[]): x.append(1) return x print(f(), f()) a very insightful discussion follows here https://twitter.com/jakevdp/status/1235271748867612673 Thanks Ragini