Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT a = [ [ 1 , 1 , 0 , 1 , 0 , 0 , 0 , 0 ] , [ 0 , 1 , 1 , 1 , 1 , 0 , 0 , 1 ] , [ 1 , 0 , 0 , 1 , 1 , 1 , 0 , 0 ] , [ 0 , 1 , 1 , 0 , 1 , 1 , 0 , 0 ] , [ 1 , 0 , 1 , 1 , 1 , 1 , 1 , 0 ] , [ 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 ] ] NEW_LINE print ( largestMatrix ( a ) ) NEW_LINE DEDENT