Comparing several variables at once
Hi.
I'm doing an online course, so unless I install python locally I'm a bit limited when testing. I hope it's ok that I ask instead of installing Python just to verify/falsify.
Is it possible to write statements like:
* if x == y == 7 ?
* x++ ?
* x+=7
Thanks.
4 comments · 100% upvoted · other discussions
There are online python interpreters you can use to answer this easily.
LaffyPlayz 1 points · Jun 2024
For OP if they haven’t already tried: https://www.programiz.com/python-programming/online-compiler/