Daily challenge for 2025-03-23
82. Find the Factorial of a Number
Write a function solve that calculates the factorial of a number.
Example:Input: 5Output: 120Explanation: 5! = 5 * 4 * 3 * 2 * 1 = 120
Run this challenge interactively in Python or JavaScript when the app loads.