# \[하랑이랑] 회전 (시간 지정) - 회전하기

### 코드

```
{시간}초 동안 {각도}도 회전하기
```

***

### 설명

<mark style="color:purple;">`회전하기`</mark>는 하랑이랑에서 하랑이를 원하는 각도로 회전하게 할 수 있어요.

***

### 주의사항

* {시간} 뒤에는 "초"를 꼭 써야 해요.
* {각도} 뒤에는 "도"를 꼭 써야 해요.
* 띄어쓰기에 유의해 주세요.
* {시간}은 초 기준이고 자연수만 사용할 수 있어요.
* {각도}는 숫자(정수 및 소수)로만 작성해야 해요.

***

### 파이썬 대응 코드

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

***

### 예시

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

```
1초 동안 100도 회전하기
10초 동안 (-10.5)도 회전하기
"하랑이_고민" 3초 동안 0도 회전하기
```

{% endcode %}

{% code title="예시 코드의 결과" %}

```
(하랑이가 0도에서 시계방향으로 100도 각도로 1초 동안 회전함)
(하랑이가 0도에서 반시계방향으로 -10.5도 각도로 10초 동안 회전함)
(하랑이_고민 오브젝트가 0도에서 정방향으로 1초 동안 회전함)
```

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