The first letter
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
This one builds on a lesson you haven't finished yet. Do that lesson first:
Python Basics · Working with strings →
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].
word is "python". Store its first character in first.
Click Run to see the output here.