LearnPy Hub
← Functions problems
Easy

is_multiple(n, k)

Write is_multiple(n, k) that returns True when n is divisible by k. Read n and k and print the result.

Input

Two integers (k ≠ 0).

Output

True or False.

Sample 1

Input
10
5
Output
True

Sample 2

Input
10
3
Output
False
solution.py
Output appears here
is_multiple(n, k) · Python practice problem · LearnPy Hub