I read the documentation about using and
, or
operators, but why is the following not evaluating?
X = 15,
Y = 20,
X==15 and Y==20.
I am expecting for a "true" in the terminal, but I get a "syntax error before ==".
Try:
X = 15.
Y = 20.
(X==15) and (Y==20).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With