# 4.10.    시퀀스(Sequence) 자료형 활용

파이썬에서 가장 기본적인 데이터 구조는 시퀀스입니다. 시퀀스란 데이터를 순서대로 하나씩 나열하여 나타낸 데이터 구조입니다.&#x20;

시퀀스의 각 요소에는 특정 위치(\~번째)의 데이터를 가리키는 인덱스가 지정됩니다. 첫 번째 인덱스는 0이고, 두 번째 인덱스는 1입니다.&#x20;

파이썬에는 여섯 가지 시퀀스 유형이 있지만 가장 일반적인 것은 list과 tuple입니다.&#x20;

색인 생성, 분리, 추가, 곱하기 및 구성원 확인 등이 시퀀스 유형으로 처리되는 일들입니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdc-james.gitbook.io/onebook/3./3.10.-sequence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
