Write one yourself · 직접 하나 작성하기
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 · Functions →
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. 모든 경로는 무언가를 반환해야 합니다.
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max. · 두 숫자 중 더 큰 값을 반환하는 biggest(a, b)를 쓰세요. max은 사용하지 마세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.