cours_NSI/scripts/exo2_corr.py
2022-05-09 17:34:16 +02:00

2 lines
74 B
Python

def somme(L: list[int]) -> int:
return None if len(L) == 0 else sum(L)