Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT mat = [ [ 10 , 20 , 30 , 40 ] , [ 15 , 25 , 35 , 45 ] , [ 25 , 29 , 37 , 48 ] , [ 32 , 33 , 39 , 50 ] ] NEW_LINE print ( "7th ▁ smallest ▁ element ▁ is " , kthSmallest ( mat , 4 , 7 ) ) NEW_LINE DEDENT