Skip to content

Commit

Permalink
exam postmortem
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicGrobol committed Apr 19, 2022
1 parent a7ba165 commit b740058
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions exams/exam-2022.py.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ cellule-ci dessous, modifiez cette cellule pour afficher `l’environnement, c
les sociétés`.

```python
lst = ["l'", "c'est aussi ce que", "créent", "les", "sociétés" "environnement"]
lst = ["l'", "c'est aussi ce que", "créent", "les", "sociétés", "environnement"]
# Codez ici
```

7.2 Même question avec la liste suivante

```python
lst = ["l'", [["c'est aussi ce que"]], "créent", ["les", "sociétés" "environnement"]]
lst = ["l'", [["c'est aussi ce que"]], "créent", ["les", "sociétés", "environnement"]]
# Codez ici
```

Expand Down Expand Up @@ -179,7 +179,11 @@ affiche le `n`-ième mot du texte suivant si un tel mot existe et affiche `ERREU
grand ou trop petit. Appeler cette fonction avec les valeurs `0`, `-1`, `15` et `2022` pour `n`.

```python
# Coder ici
text = [ "once", "a", "person", "acknowledges", "that", "they", "possess", "some", "form", "of",
"privilege", ",", "they", "are", "more", "likely", "to", "accept", "the", "reality", "that", "they",
"are", "not", "in", "any", "way", "objective", "about", "the", "form", "of", "marginalization",
"in", "question"]
# Codez ici
```

14\. Écrire une fonction `ma_fonction` à deux arguments `a` et `b`, qui affiche `a` et renvoie
Expand Down

0 comments on commit b740058

Please sign in to comment.