LearnPy Hub
← Functions problems
Easy

Return Two Values

Write divide(a, b) that returns the quotient and remainder as a tuple. Read a and b, unpack the result into two variables and print them on one line.

Input

Two integers on one line.

Output

One line.

Sample 1

Input
17 5
Output
3 2

Sample 2

Input
10 2
Output
5 0
solution.py
Output appears here
Return Two Values · Python practice problem · LearnPy Hub