Skip to content

Write one yourself · ⁨自己写一个⁩

English

Write one yourself

Write biggest(a, b) that gives back the larger of the two numbers. Do not use max.

Now all three parts are yours: the def line with its two names, an if/else inside it, and a return on each path. Every path must return something.

中文

自己写一个

写一个 biggest(a, b),返回两个数中较大的那个。不要用 max。

现在三个部分都由你来写:带两个参数名的 def 那一行、里面的 if/else,以及每条路径上的 return。每一条路径都必须返回点什么。

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩