# 숫자형(numbers)

{% hint style="info" %}
**숫자형 말 그대로 숫자 형태를 가진 자료형 입니다.**
{% endhint %}

```python

# 정수형 <class 'int'>
integer = 100

print(type(integer))

# 실수형 <class 'float'>
float = 3.14

print(type(float))

```

{% hint style="info" %}
**사칙연산**
{% endhint %}

```python
x = 2
y = 4

print(x+y) # 6

print(x-y) # -2

print(x*y) # 8

print(x/y) # 0.5

print(x**y) # 제곱 16

# 나눗셈 몫, 나머지
print(x//y) # 0

print(x%y) # 2
```


---

# 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://nmdkims-organization.gitbook.io/python-hand-book/day1./1.-numbers-strings-lists-dictionaries/numbers.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.
