Use what it gives back · 돌아오는 값을 사용하십시오
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
Use what it gives back
double is written for you and returns a number. Call it with 21 and store the answer in answer.
return hands a value back to whoever called the function. That value is not printed — you catch it with =, exactly like any other result.
한국어
반환값 사용하기
double는 작성되어 있으며 숫자를 반환합니다. 21을 전달하여 답변을 answer에 저장하세요.
return는 함수를 호출한 쪽에 값을 반환합니다. 그 값은printed되지 않으므로, 다른 결과처럼 =으로 받아내야 합니다.
double is written for you and returns a number. Call it with 21 and store the answer in answer. · double는 작성되어 있으며 숫자를 반환합니다. 21을 전달하여 답변을 answer에 저장하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.