The first three letters · 처음 세 문자
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 · Working with strings →
English
The first three letters
word is "python". Store its first three characters in part using a slice.
⚠️ A slice stops before its second number. word[:3] gives three characters — positions 0, 1, 2 — and never position 3. So the number you write is the COUNT you want, not the last position.
한국어
첫 세 문자
word는 "python"입니다. 슬라이스(slice)를 사용하여 첫 세 문자를 part에 저장합니다.
⚠️ 슬라이스는 두 번째 숫자 전에 멈춥니다. word[:3]는 세 개의 문자(위치 0, 1, 2)를 제공하며, 위치 3는 포함하지 않습니다. 따라서 작성하는 숫자는 마지막 위치가 아니라 원하는 개수입니다.
word is "python". Store its first three characters in part using a slice. · word는 "python"입니다. 슬라이스(slice)를 사용하여 첫 세 문자를 part에 저장합니다.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.