Question 1
Write a function is_multiple(a, b) that returns True if a is a multiple of b or b is a multiple of a, and False otherwise. Both numbers are positive.
NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition.
Example
is_multiple(10, 5) -> True
is_multiple(7, 3) -> False
Your task
Implement this function:
def is_multiple(a: int, b: int) -> bool:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: a, b.
Example
Input
10
5
Output
True