Find the output of the following program:
def gfg(x,li=[]): for i in range(x): li.append(i*i) print(li) gfg(3,[3,2,1])
[3, 2, 1, 0, 1, 4]
[0, 1, 0, 1, 4]
[0, 1]
[ ]
This question is part of this quiz :