def summation(begin, end):
    """(int, int) -> int
    Add up the integers in the range <begin> ...<end> -1, inclusive
    """
    
    total = 0

    while begin != end:
        total += begin
        begin += 1
    
    return total