check if 2 strings in string

PHOTO EMBED

Sun Apr 30 2023 16:41:16 GMT+0000 (Coordinated Universal Time)

Saved by @QuinnFox12 #string

post_title = 'ajkdshfbakerg' 
k = 'meo me'


k = kw.split()
if all([x in post_title for x in k]):
print('True')
else:
print('false')

k = kw.split()
if any([x in post_title for x in k]):
print('True')
else:
print('false')
content_copyCOPY