Write a program that finds the Zeckendorf representation of different numbers.

DAILY CODE MODEdef is_prime(a): return all(a % i for i in range(2, a)) def zeckendorf(num): answer = [] temp = num - 1 while num > 0: if is_prime(temp): number = num - temp answer.append(temp) temp = num else: temp -= 1 return answer print(zeckendorf(11)) 133 more words