Comment

Comment by asplake

Oops yes! And unfortunately it still doesn't work for n=0

Edit: prod(range(1, n+1)) does work

parent asplake 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton