Question: 
Write a python function to find the last digit when factorial of a divides factorial of b.


Model's Code:
def compute_Last_Digit(a, b):
    from math import factorial
    return factorial(b) % factorial(a) % 10



Sample Correct Code:
def compute_Last_Digit(A,B): 
    variable = 1
    if (A == B): 
        return 1
    elif ((B - A) >= 5):  
        return 0
    else:   
        for i in range(A + 1,B + 1): 
            variable = (variable * (i % 10)) % 10
        return variable % 10


Asserts:
assert compute_Last_Digit(2,4) == 2
assert compute_Last_Digit(6,8) == 6
assert compute_Last_Digit(1,2) == 2


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 47 of 974: 35/47 (74.46808510638297%): failed