Repeat text · Répéter du texte
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Cette page nécessite un navigateur récent (avec support SharedArrayBuffer). Veuillez mettre à jour Chrome, Edge, Firefox ou Safari vers la dernière version.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Celui-ci repose sur une leçon que vous n'avez pas encore terminée. Terminez d'abord cette leçon :
Python Basics · Bases Python · Working with strings · Travailler avec des chaînes →
English
Repeat text
* repeats text. "ha" * 3 becomes hahaha.
Français
Répéter du texte
* répète du texte. "ha" * 3 devient hahaha.
Use * to repeat text. Show hahaha: print("ha" * 3). · Utilisez * pour répéter du texte. Affichez hahaha : print("ha" * 3).
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.