LearnPy Hub
← Loops problems
Hard

Digits After the Decimal Point

Read a, b (b > 0, 0 ≤ a) and k. Using long division with a loop (no floats), print a / b as the whole part, a point, and exactly k digits after the point (cut off, not rounded).

Input

Three integers on one line.

Output

One line.

Sample 1

Input
1 3 10
Output
0.3333333333

Sample 2

Input
22 7 15
Output
3.142857142857142
solution.py
Output appears here
Digits After the Decimal Point · Python practice problem · LearnPy Hub