The first letter · La première lettre
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Cette page nécessite un navigateur récent (avec support SharedArrayBuffer). Veuillez mettre à jour Chrome, Edge, Firefox ou Safari vers la dernière version.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Celui-ci repose sur une leçon que vous n'avez pas encore terminée. Terminez d'abord cette leçon :
Python Basics · Bases Python · Working with strings · Travailler avec des chaînes →
English
The first letter
word is "python". Store its first character in first.
Positions start at 0, not 1 — so the first character is word[0].
Français
La première lettre
word est "python". Stockez son premier caractère dans first.
Les positions commencent à 0, pas à 1 — donc le premier caractère est word[0].
word is "python". Store its first character in first. · word est "python". Stockez son premier caractère dans first.
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.