def gfg(x,l=[]): for I in range(x): l.append(i*i) print(l) gfg(2) gfg(3,[3,2,1]) gfg(3)
Apprenez de maniĂšre plus efficace, gratuitement :
Introduction Ă Python
7.1M apprenants
Introduction Ă Java
4.7M apprenants
Introduction Ă C
1.5M apprenants
Introduction Ă HTML
7.5M apprenants