Mubashir was reading about Polydivisible Numbers on Wikipedia.
In mathematics a Polydivisible Number (or magic number) is a number in a given number base with digits abcde... that has the following properties:
Create a function which takes an integer n and returns True if the given number is a Polydivisible Number and False otherwise.
is_polydivisible(1232) ➞ True
# 1 / 1 = 1
# 12 / 2 = 6
# 123 / 3 = 41
# 1232 / 4 = 308
is_polydivisible(123220 ) ➞ False
# 1 / 1 = 1
# 12 / 2 = 6
# 123 / 3 = 41
# 1232 / 4 = 308
# 12322 / 5 = 2464.4 # Not a Whole Number
# 123220 /6 = 220536.333... # Not a Whole Number
N/A