def func(x): res = 0 for i in range(x): res += i return res print(func(4))
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