Is it in range? · 在范围内吗?
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 · Python 基础 · Making decisions · 做出判断 →
English
Is it in range?
n is 14. Print yes when n is both more than 10 and less than 20. Print no otherwise.
and needs both sides to be true. Write each side as a complete question: n > 10 and n < 20, not 10 < n < 20 and.
中文
在范围内吗?
n 是 14。当 n 既大于 10 又小于 20 时打印 yes,否则打印 no。
and 要求两边都成立。每一边都要写成完整的判断:n > 10 and n < 20,而不是 10 < n < 20 and。
n is 14. Print yes when n is both · 两者 more than 10 and less than 20. Print no otherwise. · n 是 14。当 n 既大于 10 又小于 20 时打印 yes,否则打印 no。
Click Run to see the output here. · 点击“运行”查看此处输出。