LearnPy Hub
← Data Types & Casting problems
Medium

Two Kinds of Division

Read two integers a and b (b ≠ 0). Print a / b, then a // b, then a % b, each on its own line.

Input

Two integers.

Output

Three lines.

Sample 1

Input
17
5
Output
3.4
3
2

Sample 2

Input
10
2
Output
5.0
5
0
solution.py
Output appears here
Two Kinds of Division · Python practice problem · LearnPy Hub