Curious Numbers

Learn to write the solution for finding curious numbers.

Challenge

Write a program to find all curious numbers, up to 10000, that are equal to the sum of the factorial of their digits.

For this problem, you have to write two functions:

1. factorial ( ) ...