# \[하랑이랑] 출력 - 말하기

### 코드

* 현재 선택되어 있는 오브젝트가 말하도록 할 때는 아래와 같이 작성해요.

```
{출력할 데이터} 말하기
```

* 현재 선택되어 있는 오브젝트가 아닌 다른 오브젝트가 말하도록 할 때는 아래와 같이 작성해요.

```
"다른_오브젝트_이름" {출력할 데이터} 말하기
```

***

### 설명

<mark style="color:purple;">`말하기`</mark>는 하랑이랑 기본 출력 함수로, 원하는 데이터를 하랑이가 말하게 할 수 있어요.

프로그램 상에서 숫자, 문자열, 연산 결과 등 원하는 종류의 데이터를 하랑이를 통해 출력할 수 있어요.

***

### 주의사항

* 만약 다른 오브젝트에 대한 명령어라면 <mark style="color:purple;">`"오브젝트 이름"`</mark>과 <mark style="color:purple;">`말하기`</mark> 사이에 출력할 데이터를 작성해야 해요.
* 띄어쓰기에 유의해 주세요.
* <mark style="color:purple;">`말하기`</mark>가 잘 작동하지 않는다면, 아래 코드와 같이 출력할 데이터에 괄호를 씌워주세요.

```
(1 + 1) 말하기
```

```
"다른_오브젝트" (1 + 1) 말하기
```

***

### 파이썬 대응 코드

하랑이랑 코드는 파이썬에 대응되는 코드가 없어 제공되지 않아요.

***

### 예시

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

```
"안녕 친구들" 말하기
1234 말하기
1 + 1 말하기

변수이름 = "변수데이터"  # [변수를 선언하는 것으로, 출력과 무관합니다]

변수이름 말하기
```

{% 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/harang/014.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.
