Site Tools


informatique:python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatique:python [2025/12/16 19:42] yahikoinformatique:python [2026/04/22 14:24] (current) – [Le dernier caractère d'une chaîne] yahiko
Line 106: Line 106:
 ===== Le dernier caractère d'une chaîne ===== ===== Le dernier caractère d'une chaîne =====
 <code python> <code python>
-print("Prout"[-1]+print("Prout"[-1])
 </code> </code>
 Va retourner ''t''. Va retourner ''t''.
informatique/python.txt · Last modified: by yahiko