Repeat text · テキストを反復
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
This one builds on a lesson you haven't finished yet. Do that lesson first: · これはまだ完了していないレッスンの先にある内容です。まずはそのレッスンを済ませてください:
Python Basics · Working with strings · 文字列の操作 →
English
Repeat text
* repeats text. "ha" * 3 becomes hahaha.
日本語
テキストを繰り返す
*はテキストを繰り返します。"ha" * 3はhahahaになります。
Use * to repeat text. Show hahaha: print("ha" * 3). · * を使ってテキストを反復してください。hahaha を表示:print("ha" * 3)。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。