Open DNPotapov opened 1 year ago
def diff(poly): res = [] for i, x in enumerate(poly[::-1]): if i != 0: res.append(x * i) return res[::-1]
https://www.codewars.com/kata/54f4b6e7576d7af70900092b