Skip to content · ⁨본문 바로가기⁩

Pass or fail

Pass or fail

mark is 47. Print pass when the mark is 50 or more, and fail otherwise.

else catches everything the if did not. It takes no condition of its own — just else: — and its own indented line underneath.

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP