Commit 2ab0782e192734ad64ec6989a5f703d7465cad4f

Authored by Rémi Emonet
1 parent c919876ea4
Exists in master

....

Showing 1 changed file with 18 additions and 0 deletions

chunks/q/py-accsum-sumif-printinside.md View file @ 2ab0782
  1 +## {q}
  2 +- <span>2016102030</span>
  3 +```python
  4 +l = [1, 3, 5, 7, 10]
  5 +s = 0
  6 +
  7 +for e in l:
  8 + if e % 5 == 0:
  9 + s = s + e
  10 +
  11 + print(s)
  12 +{bigger}
  13 +```
  14 +- Qu'affiche le code ci dessus ?
  15 + 1. autre
  16 + 1. 15
  17 + 1. 19
  18 + 1. 0