
    Write a function to identify the rightmost digit of a customer's account balance, which will be used to categorize their spending pattern for personalized banking recommendations. The function should work with any valid numerical balance amount and return a single digit that represents the last number in that balance.
    

    
def last_Digit(n):
    """
    Write a function to identify the rightmost digit of a customer's account balance, which will be used to categorize their spending pattern for personalized banking recommendations. The function should work with any valid numerical balance amount and return a single digit that represents the last number in that balance.
    

    """
def last_Digit(n):
    """
    Write a function to identify the rightmost digit of a customer's account balance, which will be used to categorize their spending pattern for personalized banking recommendations. The function should work with any valid numerical balance amount and return a single digit that represents the last number in that balance.
    

    """
    return n % 10