Comment Comment by asplake Oops yes! And unfortunately it still doesn't work for n=0Edit: prod(range(1, n+1)) does work parent asplake 2 years ago
Edit: prod(range(1, n+1)) does work