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

Strings and nested loops · ⁨Strings e laços aninhados⁩

English

Strings and nested loops

  • A String is a row of characters, each with a position (an index).
  • The first index is 0, and the last is length() - 1.
  • In this lesson you walk through a String one character at a time, and put loops inside loops.
Português

Strings e laços aninhados

  • Uma String é uma fileira de caracteres, cada um com uma posição (índice).
  • O primeiro índice é 0, e o último é length() - 1.
  • Nesta aula você percorre uma String um caractere por vez, e coloca laços dentro de laços.

Handout · ⁨Material de apoio⁩

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

IGCSE, A-Level & AP