Godtone (talk | contribs)
m My Python 3 code: fix fact_int edgecase
Godtone (talk | contribs)
m My Python 3 code: wrong word
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 string
if n==1: # to avoid bugs involving 1/1 being an empty list
return [0]
return [0]
return f
return f