Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT A = [ [ '1' , '0' , '0' ] , [ '0' , '0' , '0' ] , [ '0' , '0' , '0' ] ] NEW_LINE B = [ [ '0' , '0' , '0' ] , [ '0' , '0' , '0' ] , [ '0' , '0' , '0' ] ] NEW_LINE K = 3 NEW_LINE print ( minMoves ( A , B , K ) ) NEW_LINE DEDENT