def t( x ) : ''' Solves the trio.t() homework 24 problem description ''' pass ''' DO NOT MODIFY THE BELOW CODE '''' if ( __name__ == '__main__' ) : import trio x1 = [0, -3, 0, -4, -2] x2 = [-3, 1, -2, 1, -3, -3, -2, -4, -1, -4] x3 = [2, -1, 0, 3, 0, 3, -2, -2, -1, -4, 3, -4, 3, -1, 3] x4 = [] t1 = trio.t( x1 ); print( 't( x1 ) =', t1 ) t2 = trio.t( x2 ); print( 't( x2 ) =', t2 ) t3 = trio.t( x3 ); print( 't( x3 ) =', t3 ) t4 = trio.t( x4 ); print( 't( x4 ) =', t4 )