def tup_sum(tuple):
    """
    definition: name(tuple) {...}
    objective : returns the sum of all elements in the given tuple
    """
    sum = 0
    for element in tuple:
        sum += element
    return sum
