#!/usr/bin/python3
# The find() method determines if the string str occurs in string, or in a substring of string
# if the starting index beg and ending index end are given.

str1 = "this is string example....wow!!!"
str2 = "exam";
print (str1.find(str2))
print (str1.find(str2, 10))
print (str1.find(str2, 40))