Factorial numbers are clever
Factorial numbers look like this 5!
The exclamation mark means to multiply the number before it with all the numbers after it. For example... 5!=5x4x3x2x1 the answer is 120
With Python I managed to program the function from scratch

## Step 1: Before You Start

This program can come in use in mathematics because most calculator can't calculate bigger numbers because of its computing power.
Before you begin you need to install Python 3.4.3 from the Python website

(But for the attached file you need to use 2.7.3)

## Step 2: The Code

`while True:    number1=int(input("Enter number "))    number2=number1+1    multipliers=list()    for i in range(number1,0,-1):        multipliers.append(i)        #print(i)    import operator    import functools    result = functools.reduce(operator.mul,multipliers, 1)    print(result)`

## Step 3: Files

Factorial Number.py is the program, so if you don't want to code it yourself then download it, open python and then open the file and run[f5].

100000! is a extremely big factorial number if you want to have a look at what this program can do.

## Step 4: Final Thing

One last thing this program take a long time to calculate large numbers so I wouldn't recommend inputting ridiculously large numbers.

Have Fun!

InventoYoda

<p>Sorry, but wouldn't it be easier just to have:</p><p>def factorial(number):</p><p>total = 1</p><p>for i in range(1, number + 1):</p><p>total *= i</p><p>return total</p>
<p>I am not trying to be a jerk but there is a far easier <br>and more eloquent way to do what your doing and without using an infinite <br>loop or reading a ton of data into memory. In Python&rsquo;s built in math module there is a function called &ldquo;factorial&rdquo; to <br>do the exact same thing..</p><p></p><p><a href="https://docs.python.org/3.4/library/math.html" rel="nofollow">https://docs.python.org/3.4/library/math.html</a></p><p>import math</p><p>num = int(input(&quot;Enter a Number&gt;&gt;&gt; &quot;))</p><p>print math.factorial(num)</p>
<p>Don't worry</p><p>I did realise that python had a pre built function but I challenged myself to create the code from scratch</p>
<p>I love building my own functions! Number sequesaces are awesome. I remember doing a program that revolved around the fibinacci sequence. So great! </p>