Free entry
此页面需较新浏览器(支持 SharedArrayBuffer)。请升级 Chrome、Edge、Firefox 或 Safari 至最新版本。
此任务基于您尚未完成的课程。请先完成以下课程:
Python 基础 · Making decisions →
免费入场
使用 int(input()) 读取一个整数 age(例如 70)。当年龄低于 12 或 高于 65 时免费入场。打印 free 或 pay。
or 只要有一边成立就可以,and 要两边都成立。把条件读出来 —— 你会用的那个中文词,通常就是该用的那个。
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Read a whole number age with int(input()) (for example 70). Entry is free when the age is under 12 或 65 and over. Print free 或 pay.
点击“运行”查看此处输出。