<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _volume(shape):
 """Return the volume of a shape."""

    prod = 1
    for start, stop in shape:
        prod *= stop - start
    return prod