Skip to content · ⁨コンテンツへスキップ⁩

How long is it? · ⁨長さはいくつですか?⁩

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(...) はスペースを含めてすべての文字を数えます。関数なので、テキストは 括弧の内側 に置きます。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP