message = 'Python is a fun language to program with' # check the index of 'fun' print(message.find('fun')) # Output: 12