- cross-posted to:
- bumba@boomer.casino
- python@programming.dev
You must log in or register to comment.
- abclop99 ( @abclop99@beehaw.org ) English6•1 year ago
a = a ^ b b = a ^ b a = a ^ b
- pewpew ( @pewpew@feddit.it ) English3•1 year ago
So you are asking the user to do it
- Crackhappy ( @Crackhappy@lemmy.world ) English2•1 year ago
Never used Python but that’s hilarious.
- MyNameIsRichard ( @MyNameIsRichard@lemmy.ml ) English1•1 year ago
Using an organic processor
- Jason Novinger ( @jnovinger@programming.dev ) English0•1 year ago
I raise you
@lambda _: _() def result() -> int: global a; global b; a, b = b, a
hat tip to @sisyphean@programming.dev via Cursed Python