I have a script where I'm asking it to look for a phrase which is along the lines of:
if "1" in response and "2" in response and "(" + age + ")" in response:
but I need it to do something like this:
if "1" in response and "2" in response and ( ("(" + age + ")") or ("[" + age + "]") in response:
to account for the symbol being either ( or [ around age - it then passes the verification and moves to the next step. Right now I'm missing anything with a [ bracket.
I tried it a long these lines but couldn't figure these expressions out.