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