def polydivisible(x):
count = 1
mass = []
for index,item in enumerate(str(x)):
mass.append(item)
chislo = int(''.join((str(i) for i in mass)))
if chislo % count == 0:
count += 1
else:
return False
return True
A polydivisible number is divisible in an unusual way. The first digit is cleanly divisible by 1, the first two digits are cleanly divisible by 2, the first three by 3, and so on.