compréhension de la somme python
sample_list = [1, 3, 8]
result = sum(value for value in sample_list)
# It should print 12
print(result)
Witty Warbler
sample_list = [1, 3, 8]
result = sum(value for value in sample_list)
# It should print 12
print(result)