Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT G = [ [ 0 , 1 , 0 , 1 ] , [ 1 , 0 , 1 , 0 ] , [ 0 , 1 , 0 , 1 ] , [ 1 , 0 , 1 , 0 ] ] NEW_LINE if isBipartite ( G ) : print ( " Yes " ) NEW_LINE else : print ( " No " ) NEW_LINE DEDENT