title: '두 수의 나눗셈'
date: '2024-06-14'
tags: ["python", "프로그래머스", "두"]
summary: '두 수의 나눗셈'
---

![이미지](/images/self_dev/programmers/프로그래머스-Python-두-수의-나눗셈-html_20240614/img.png)

* * *

### **코드 입력**
```python
![이미지](/images/self_dev/programmers/프로그래머스-Python-두-수의-나눗셈-html_20240614/img_1.png)

num1을 num2로 나누고, 1000을 곱한 다음 정수 부분만 return을 해야 하는 조건에 맞춘 정답이다.

num1/num2로 먼저 나누고, *1000으로 1000을 곱한 다음, 마지막 int() 함수를 사용하여 정수 부분만 return을 해준다.

* * *

> **🔗 [프로그래머스](https://school.programmers.co.kr/learn/courses/30/lessons/120806)**