Other languages (e.g. Java) have a 'string'.contains function, while in Python:
small_string = "small" larger_string = "larger string contains a small string" if small_string in larger_string: print("success!!!")