| @@ -0,0 +1,23 @@ | |||||
| # TODO | |||||
| Faire un dessin pour illustrer: | |||||
| ```python | |||||
| fruits = ["pomme", "poire"] | |||||
| x = fruits[0] | |||||
| x = "orange" | |||||
| ``` | |||||
| Faire un dessin pour illustrer | |||||
| sequence, répétition, sélection | |||||
| ```python | |||||
| i = 0 | |||||
| while i < 3: | |||||
| print(i) | |||||
| i = i + 1 | |||||
| if i == 2: | |||||
| print("deux") | |||||
| ``` | |||||
| Pareil avec une vue "debuggeur" | |||||