Ajout C3.tex + C3.pdf
This commit is contained in:
parent
bdc7ff7d13
commit
4c85f09c74
49 changed files with 860 additions and 0 deletions
7
C3/codes/q7_2.py
Normal file
7
C3/codes/q7_2.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
inventaire = {'pommes': 430, 'bananes': 312,'oranges' : 274,
|
||||
'poires' : 137}
|
||||
|
||||
stock = 0
|
||||
for fruit in inventaire.keys():
|
||||
if fruit != 'bananes':
|
||||
stock = stock + inventaire[fruit]
|
||||
Loading…
Add table
Add a link
Reference in a new issue