I have a String message
message = "The boy Akash is studying in 9th class at Boys school"
I wanted to check if any of the words boy
or class
or school
is not present. If any of those are not present it should show a error message.
if('boy' or 'class' or 'school' not in message):
print = "Please check if you have filled all data"
But when I tried this, even if all keywords are present its showing error. Where it could be wrong.