I have a pair of tuples (0,10) & (5, 15). I would like to write a function that will detect an overlap of numbers and return the numerical value of overlap(the amount of overlap). Is there an existing function to perform this comparison? I would like to use the quickest solution possible and avoid conditional statements...any ideas?