# 변수

### 코드

```
{변수이름} = {저장할 데이터}
```

***

### 설명

변수는 '변할 수 있는 수'로, 여러 데이터를 담아두는 기억 공간이예요.

여러 종류의 데이터를 저장할 수 있고, 저장할 수 있는 데이터는 [데이터 종류](/readme/001.md)를 참고하시면 돼요.

또한 변수의 개념은 상자에 빗대어 개념을 쉽게 이해할 수 있어요.

***

### 주의사항

* 변수 이름은 띄어쓸 수 없어요.
* 변수 이름은 숫자로 시작할 수 없어요.
* 변수 이름에는 언더바(\_)를 제외한 특수문자를 사용할 수 없어요.
* 변수 이름으로 예약어(보여주기, 입력받기, 반복 등)를 사용할 수 없어요.

***

### 파이썬 대응 코드

```
{변수이름} = {데이터}
```

***

### 예시

{% code title="예시 코드" %}

```
변수1 = "안녕 친구들"
변수2 = 1234
변수3 = 1 + 1

변수1 보여주기  # [변수를 출력하는 것으로, 변수와 무관합니다]
변수2 보여주기  # [변수를 출력하는 것으로, 변수와 무관합니다]
변수3 보여주기  # [변수를 출력하는 것으로, 변수와 무관합니다]
```

{% endcode %}

{% code title="예시 코드의 출력" %}

```
안녕 친구들
1234
2
```

{% endcode %}


---

# 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://codebook.horang.it/readme/002.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.
