Free entry · 無料入場
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 · Making decisions →
English
Free entry
age is 70. Entry is free when the age is under 12 or 65 and over. Print free or pay.
or needs only one side to be true. and needs both. Read your condition out loud — the English word you would use is usually the right one.
日本語
無料入場
age は 70 です。年齢が 12 未満であるか、65 以上である場合、入場料は無料です。free または pay を出力します。
or は片方が真であれば十分です。and は両方が必要です。条件を声に出して読んでみてください。使われる英語の言葉は通常正しいものです。
age is 70. Entry is free when the age is under 12 or 65 and over. Print free or pay. · age は 70 です。年齢が 12 未満であるか、65 以上である場合、入場料は無料です。free または pay を出力します。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。