Verify Last Digit Product

Check if the product of the last digits of two integers equals to the last digit of another integer in Python.

Create a Python function that examines whether the product of the last digits of two integers `a` and `b` is equal to the last digit of a third integer `c`. The function should return `True` when the condition is met, and `False` otherwise. ### Parameters - `a`, `b`, `c` (integers): The function needs to check if the multiplication of the last digit of `a` by the last digit of `b` equals the last digit of `c`. ### Return Value - The function should return `True` if the multiplication of the last digit of `a` by the last digit of `b` equals the last digit of `c`, otherwise it should return `False`. ### Examples ```python # The last digit of 25 is 5, the last digit of 21 is 1, and the last digit of 125 is 5 # The product of last digits (5 * 1) equals the last digit of 125, hence the output is True check_last_digits(25, 21, 125) # True # The product of last digits of 55 and 226 does not equal the last digit of 2142, hence the output is False check_last_digits(55, 226, 2142) # False ```