factorial
Calculates the factorial of a non-negative integer n, which is the product of all positive integers less than or equal to n. Returns n! = n × (n-1) × ... × 1. (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | integer, required, non-negative integer to calculate factorial of |