Find the volume of rectangular right wedge | Function to return the volume of the rectangular right wedge ; Driver code
def volumeRec ( a , b , e , h ) : NEW_LINE INDENT return ( ( ( b * h ) / 6 ) * ( 2 * a + e ) ) ; NEW_LINE DEDENT if __name__ == " _ _ main _ _ " : NEW_LINE INDENT a = 2 ; b = 5 ; e = 5 ; h = 6 ; NEW_LINE print ( " Volume ▁ = ▁ " , volumeRec ( a , b , e , h ) ) ; NEW_LINE DEDENT