No installations needed! Write Python directly in your browser and get instant feedback with our smart validation system.
Compute the factorial of a given non-negative integer.
You are given a non-negative integer variable
The factorial of
Calculate and print the factorial of
Output:
Get your code reviewed and validated to understand what you did right and where you can improve.