0

Find the error and output

def gfg(x,l=[]): for I in range(x): l.append(i*i) print(l) gfg(2) gfg(3,[3,2,1]) gfg(3)

4th Apr 2020, 3:05 AM
Model Pilot
Model Pilot - avatar
1 Antwort
0
Correct your line 2 I=i
4th Apr 2020, 4:46 AM
Tricker