if word in mystring: print('success')
string = "This contains a word" if "word" in string: print("Found") else: print("Not Found")