Repeat text · Repetir texto
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
Repeat text
* repeats text. "ha" * 3 becomes hahaha.
Português
Repetir texto
* repete texto. "ha" * 3 torna-se hahaha.
Use * to repeat text. Show hahaha: print("ha" * 3). · Use * para repetir texto. Mostre hahaha: print("ha" * 3).
Click Run to see the output here. · Clique em Executar para ver a saída aqui.