. Write a program that takes an integer input from the user and calculates its factorial.
Steps:
- Create a file with the name calculateFactorial.py
- Get the number from the user using the ‘input’ function.
- Write the logic to find the factorial of the number (Use ‘for’ or ‘while’ loop). (Hint: A factorial of
number ‘n’ is calculated as 1*2*3*...*n. For example, factorial of 4 is 1*2*3*4 =24)