How long is it? · 長さはいくつですか?
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
How long is it?
phrase is "Hello World". Store how many characters it has in n.
len(...) counts every character, including the space. It is a function, so the text goes inside its brackets.
日本語
長さはいくつか?
phrase は "Hello World" です。文字数を n に保存してください。
len(...) はスペースを含めてすべての文字を数えます。関数なので、テキストは 括弧の内側 に置きます。
phrase is "Hello World". Store how many characters it has in n. · phrase は "Hello World" です。文字数を n に保存してください。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。