def get_total(alist, digits=1):
    """
    get total sum
    param alist: list
    param digits: integer [how many digits to round off result)
    return: float
    """
    return round(sum(alist), digits)