my_string = "Hello, World!" if "World" in my_string: print("Substring found!") else: print("Substring not found!")