Python Code Challenge

170 - Create a program that calculates the factorial of a number and saves the function in a module. Import the module into another program and allow the user to input the number they want the factorial calculated for.