write a python program to find all number less than 2000000 that have curious property calculate and return the factorial code example
Example: python calculate factorial
def factorial(n):
fact = 1
for num in range(2, n + 1):
fact = fact * num
return(fact)