The bigger one · 较大的那个
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 基础 · Functions · 函数 →
English
The bigger one
Return the larger of the two. An if can compare them: if a > b, return a, otherwise return b.
中文
较大的那个
返回两个里更大的那个。用 if 来比较:如果 a > b,就返回 a,否则返回 b。
Complete bigger(a, b): return the larger of a and b. · 完成 bigger(a, b):返回 a 和 b 中较大的那个。
Click Run to see the output here. · 点击“运行”查看此处输出。