input: Write a function to clearly understand the concept of recursion in Python. The function should define a recursive function to calculate the factorial of a given number and print the factorial of number 5. If the given number is 1, the function should return 1. Otherwise, it should return the number multiplied by the factorial of the number minus 1.
  assert factorial(5)==120
  assert factorial(1)==1
  assert factorial(3)==6
  assert factorial(4)==24
  assert factorial(2)==2
  
  The function should print "Factorial of 5 is 120" as output.
output: def factorial(n):
      if n == 1:
          return 1
      else:
          result = n * factorial(n - 1)
          if n == 5:
              print("Factorial of 5 is 120")
          return result