demo_string_not_in.py:
txt = "The rain in Spain stays mainly in the plain" x = "ain" not in txt print(x)
C:\Users\My Name>python demo_string_not_in.py
False