Ci-dessous, les différences entre deux révisions de la page.
journal_20150112 [2015/01/12 19:00] raphael créée |
journal_20150112 [2017/09/28 15:44] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | On a du plastique de couleur ! (trop même) - du PLA, et de l'ABS. | ||
- | On a appris le codage [[rot13|https://fr.wikipedia.org/wiki/ROT13]]. | ||
- | On l'a implémenté (en copiant sur stack overflow) | ||
- | <code python> | ||
- | import string #fixed typo was using | ||
- | rot13 = string.maketrans( | ||
- | "ABCDEFGHIJKLMabcdefghijklmNOPQRSTUVWXYZnopqrstuvwxyz", | ||
- | "NOPQRSTUVWXYZnopqrstuvwxyzABCDEFGHIJKLMabcdefghijklm") | ||
- | print(string.translate("Gaetan, Pierre, Chloe et Noe sont au Gnan Club", rot13)) | ||
- | </code> |