Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT s = [ ] NEW_LINE s . append ( " bana " ) NEW_LINE s . append ( " apple " ) NEW_LINE s . append ( " banacb " ) NEW_LINE s . append ( " bonanza " ) NEW_LINE s . append ( " banamf " ) NEW_LINE print ( int ( check ( s , " banana " ) ) ) NEW_LINE DEDENT