brouillon_-_python
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| brouillon_-_python [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | brouillon_-_python [2025/10/24 10:10] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 35: | Ligne 35: | ||
| print(welcome if is_ok else error) | print(welcome if is_ok else error) | ||
| </ | </ | ||
| + | |||
| + | |||
| + | === String | ||
| + | |||
| + | Source : / | ||
| + | <code python> | ||
| + | import codecs | ||
| + | |||
| + | |||
| + | def stringify(s): | ||
| + | ''' | ||
| + | return codecs.latin_1_decode(s)[0] | ||
| + | </ | ||
| + | | ||
| == lambda | == lambda | ||
| + | |||
| https:// | https:// | ||
| https:// | https:// | ||
| Ligne 44: | Ligne 59: | ||
| from itertools import groupby | from itertools import groupby | ||
| from collections import defaultdict | from collections import defaultdict | ||
| + | |||
| == Doc | == Doc | ||
| Ligne 71: | Ligne 87: | ||
| https:// | https:// | ||
| + | <code python> | ||
| from dataclasses import dataclass | from dataclasses import dataclass | ||
| Ligne 79: | Ligne 96: | ||
| quantite: int = 0 | quantite: int = 0 | ||
| | | ||
| - | == Trio | + | </ |
| + | |||
| + | |||
| + | |||
| + | == Trio | ||
| https:// | https:// | ||
| - | == Linter | + | == Linter |
| https:// | https:// | ||
| + | https:// | ||
| + | |||
| == IDE | == IDE | ||
| https:// | https:// | ||
| + | |||
| == Autres | == Autres | ||
brouillon_-_python.1742825205.txt.gz · Dernière modification : de 127.0.0.1
