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 & AP