Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT wordDict1 = [ " cat " , " cats " , " and " , " sand " , " dog " ] NEW_LINE printResult ( wordBreak ( " catsanddog " , wordDict1 ) ) ; NEW_LINE DEDENT