ConvertQCM/C1/vs/q24_28.py
2025-08-26 18:38:28 +02:00

5 lines
No EOL
83 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def somme(T, a, b):
S = 0
for i in range(a, b+1) :
S = S + T[i]
return S