def somme(tab): s = 0 for i in range(len(tab)): ...... return s