Godtone (talk | contribs)
m My Python 3 code: wrong word
Godtone (talk | contribs)
m broke smth
Tag: Undo
Line 542: Line 542:
f[-1] += 1
f[-1] += 1
n //= prime_idx(len(f)-1)
n //= prime_idx(len(f)-1)
if n==1: # to avoid bugs involving 1/1 being an empty list
if n==1: # to avoid bugs involving 1/1 being an empty string
return [0]
return [0]
return f
return f