Using "or" and "and" together in if statement

I dont think you do, actually? CS can deal with two things at a time: Is it possible... (making or/and statements with 3+ variables) - #8 by Havenstone

What it can’t deal with is

  • three things at a time, e.g. (sexuality = "Women") or (sexuality = "Both") or (sexuality = "Poly") – in that case you’d need to chuck a couple of them inside a parenthesis
  • orphan bits of code – for example the stray “and” at the end of *if (sexuality = "Men") or (sexuality = "Both") and

I think in the code shared here, it’s the second one that’s the problem.