Solve the challenge of finding the factorial of a given number.
Write a function that takes a number as a parameter and returns the factorial of that number using Kotlin.
Get hands-on with 1400+ tech skills courses.