The first letter · A primeira letra
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Esta página precisa de um navegador recente (com suporte a SharedArrayBuffer). Por favor, atualize Chrome, Edge, Firefox ou Safari para a versão mais recente.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Este depende de uma lição que você não terminou. Faça essa lição primeiro:
Python Basics · Noções Básicas de Python · Working with strings · Trabalhando com strings →
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].
Português
A primeira letra
word é "python". Armazene seu primeiro caractere em first.
As posições começam em 0, não em 1 — então o primeiro caractere é word[0].
word is "python". Store its first character in first. · word é "python". Armazene seu primeiro caractere em first.
Click Run to see the output here. · Clique em Executar para ver a saída aqui.