Smallest without min · min 함수 없이 가장 작은 값 찾기
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
Smallest without min
Return the smallest number in a list without using min.
It is the mirror image of the previous drill: start with the first item and replace it whenever you meet a smaller one.
한국어
min() 없이 가장 작은 값 찾기
min 함수를 사용하지 않고 리스트에서 가장 작은 숫자를 반환하십시오.
이것은 이전 연습 문제의 거울 같은 형태입니다: 첫 번째 항목으로 시작하여 더 작은 값을 만나면 교체하십시오.
Write smallest(nums) that returns the smallest number in the list, without using min. · 반환하는 smallest(nums)을 작성하여 list 내에서 가장 작은 수를 찾아내되, min은 사용하지 마십시오.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.