Does Python have a string 'contains' substring method?
Rajanikant Hawaldar
Select an image from your device to upload
Does Python have a string ‘contains’ substring method?
You can use the in operator:if "blah" not in somestring:Do something