Strings in Python

There is no method like “contains” in python to see if there the string has a set of characters. The simplest way of finding a set of characters in python is to use “find” method. The find method returns a count of number of occurrence of the characters.