[What I've tried] (https://i.stack.imgur.com/N8ME6.png)
So I know this question has been asked (and answered) before, but how can I make a variable search for one or more specific keywords within a user response? For context, I want to make variable "mla9url" look at the response and check to see if exactly 1 word from each list (being keywords1 and keywords2), and if mla9url finds that there ARE 1 from each list, then the output will say "valid", else it will output "invalid".
p.s. I kinda new to python, not totally sorted out with these cmds and functions.
Tried: To get a variable to recognize a certain string in a given response (couldn't get it to work).
Expected: To get a variable to recognize a certain string in a givin response.