human
Write a python function to find the last digit in factorial of a given number. Here is a solution in Python: Write me a Python program to find the last digit in factorial of a given number?
assistant
#Here is Python program to find the last digit in factorial of a given number.
 def last_Digit_Factorial(n): 
    if (n == 0): return 1
    elif (n <= 2): return n  
    elif (n == 3): return 6
    elif (n == 4): return 4 
    else: 
      return 0