---
id: python-lists-access
title: "Python Lists Access"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["Access List Items", "파이썬 리스트 접근"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.9
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["python", "programming", "w3schools", "lists", "indexing", "slicing"]
raw_sources: ["https://www.w3schools.com/python/python_lists_access.asp"]
applied_in: []
github_commit: ""
---

# [[Python Lists Access]]

## 🎯 한 줄 통찰 (One-line insight)
List items are accessed by 0-based index (positive from the start, negative from the end), and range slicing returns a NEW list of items from a start index (inclusive) to an end index (exclusive). [S1]

## 🧠 핵심 개념 (Core concepts)
- **Positive indexing** — `thislist[1]` gets the second item (0-indexed). [S1]
- **Negative indexing** — `thislist[-1]` gets the last item, `-2` the second-last, etc. [S1]
- **Range slicing** — `thislist[2:5]` returns a new list from index 2 (inclusive) to 5 (exclusive). [S1]
- **Omit start/end** — `thislist[:4]` starts at the beginning; `thislist[2:]` goes to the end. [S1]
- **Negative range slicing** — `thislist[-4:-1]` slices using negative bounds. [S1]
- **Membership check** — `"apple" in thislist` tests presence. [S1]

## 📖 세부 내용 (Details)
- Positive index: `thislist = ["apple", "banana", "cherry"]; print(thislist[1])`. [S1]
- Negative index: `print(thislist[-1])`. [S1]
- Range slice: `thislist[2:5]`. [S1]
- Negative range: `thislist[-4:-1]`. [S1]
- Membership: `if "apple" in thislist: print("Yes, 'apple' is in the fruits list")`. [S1]

## ⚖️ 모순 및 업데이트 (Contradictions & updates)
소스에서 모순되는 정보는 발견되지 않음.

## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 이 슬라이싱 문법은 Change List Items 챕터에서 값 대입에도 그대로 재사용된다. [S1]

## 💻 코드 패턴 (Code patterns)
Range slicing (Python):
```python
thislist = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]
print(thislist[2:5])  # ['cherry', 'orange', 'kiwi']
```

## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.90
- **중복 검사 결과:** 신규 생성 (New discovery)

## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[Python Tutorial]]
- **관련 개념:** [[Python Lists]], [[Python Lists Change]], [[Python Strings Slicing]]
- **참조 맥락:** 리스트 인덱싱/슬라이싱의 기초 — Change List Items에서 대입 문법으로 확장.

## 📚 출처 (Sources)
- [S1] W3Schools — Python - Access List Items — https://www.w3schools.com/python/python_lists_access.asp

## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "Python - Access List Items" page (Astra wiki-curation, P-Reinforce v3.1 format).
