Skip to content · ⁨Pular para o conteúdo⁩

Working with strings · ⁨Trabalhando com strings⁩

English

Letters have positions

  • A string is a row of characters.
  • Each character has a position, called an index.
  • Indexes start at 0. Use s[-1] for the last character.
Português

Letras têm posições

  • Uma string é uma fileira de caracteres.
  • Cada caractere tem uma posição, chamada índice.
  • Os índices começam em 0. Use s[-1] para o caractere final.

Handout · ⁨Material de apoio⁩

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP