Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT X = " AGGTAB " ; NEW_LINE Y = " GXTXAYB " ; NEW_LINE m = len ( X ) ; NEW_LINE n = len ( Y ) ; NEW_LINE print ( " Length ▁ of ▁ LCS ▁ is ▁ { } n " . format ( lcs ( X , Y , m , n ) ) ) NEW_LINE DEDENT