본문 바로가기

Python ◡̈/차근차근 Python

[백준 python] 1008 A/B

 

www.acmicpc.net/problem/1008

 

1008번: A/B

두 정수 A와 B를 입력받은 다음, A/B를 출력하는 프로그램을 작성하시오.

www.acmicpc.net

 

 

< problem >

 

두 정수 A와 B를 입력받은 다음, A/B를 출력하는 프로그램을 작성하시오.

 

 

 

<input>

첫째 줄에 A와 B가 주어진다. (0 < A, B < 10)

<output>

첫째 줄에 A/B를 출력한다. 실제 정답과 출력값의 절대오차 또는 상대오차가 10-9 이하이면 정답이다.

 


 

< example >

 


 


 

ⓒ ⓞ ⓓ 

 


 

ⓣ ⓔ ⓢ 

'Python ◡̈ > 차근차근 Python' 카테고리의 다른 글

[백준 python] 10952 A+B - 5  (0) 2021.05.01
[백준 python] 10869 사칙연산  (0) 2021.04.30
[백준 python] 10998 AXB  (0) 2021.04.30
[백준 python] 1001 A-B  (0) 2021.04.30
[백준 python] 1000 A+B  (0) 2021.04.30