Hello there!
Let's say I have an if-statement, i.e.
if a == 0 and (b == 1 or b == 3 or b == 5) then output = "ok"
Is there a way to shorten the code like this: if a == 0 and (b == 1, 3, 5) then output = "ok"
1 | initial version |
Hello there!
Let's say I have an if-statement, i.e.
if a == 0 and (b == 1 or b == 3 or b == 5) then output = "ok"
Is there a way to shorten the code like this: if a == 0 and (b == 1, 3, 5) then output = "ok"