- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
You must log in or register to comment.
a = a ^ b b = a ^ b a = a ^ b
So you are asking the user to do it
I raise you
@lambda _: _() def result() -> int: global a; global b; a, b = b, a
hat tip to @[email protected] via Cursed Python