Check if num is divisible by exactly one of a or b. Example: (20,5,6) => True, (20,5,10) => False
Implement this function:
def div_by_exactly_one(num: int, 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: num, a, b.
Input
20
5
6
Output
True