What is the output of the following code ?
def f(a, L=[]): L.append(a) return L for i in range(3): print(f(i))
The default value is evaluated only onceSo here same list will be executed every time function is called
Comment here: