# [Python 2], <s>&nbsp;20 21 33 39 45&nbsp;</s> 50 bytes

Now very much a collaborative effort!

+2 thanks to Aidan F. Pierce (replace `sorted({0})` with `map(long,{0})`)

+8 thanks to dylnan (use of `\` and newline to replace space; suggestions to move from `0` to a mathematical expression; replacing `-1` with `-True`; use of hexadecimal)

+11 thanks to Angs (`4*23+~91` -> `~4836+9*1075/2` then later `~197836254+0xbCABdDF` -> `~875+0xDEAdFBCbc%1439/2*6`)

---

<!-- language-all: lang-python -->

 if\
 map(long,{~875+0xDEAdFBCbc%1439/2*6})[-True]:q

**[Try it online!][TIO-jg1f9kga]** Or see the [confirmation suite][1]

`0xbCABdDF` is hexadecimal and evaluates to evaluates to `197836255`. `~` is bit-wise complement so `~197836254` evaluates to `-197836255`. Thus `~197836254+0xbCABdDF` evaluates to `0`, and no stripped version also does.

`{0}` is a `set` containing a single element, `0`.

Calling `sorted` with a `set` as the argument yields a list, which may be indexed into with `[...]`.

Without `sorted` the code `({0})` would just yield the `set` and this cannot be indexed into in the same fashion, `if({0})[-True]:q` would raise a `TypeError`.

Indexing in Python is 0-based and allows negative indexing from the back and `True` is equivalent to `1`, hence `sorted({0})[-True]` finds the element `0`, while `sorted({0})[True]` will raise an `IndexError`, as will `sorted({})[-True]` and `sorted({0})[]` is invalid syntax.

The `0` that is found is falsey so the body of the `if`, `q`, is never executed, however if it were it would raise a `NameError` since `q` has not been defined.

Since a non-empty list is truthy we cannot trim down to `if[-1]:q` either.

See the [confirmation suite][1] to see: confirmation the bytes being unique; all the errors; and the success of the code itself.

[Python 2]: https://docs.python.org/2/
[TIO-jg1f9kga]: https://tio.run/##K6gsycjPM/r/PzMthis3sUAjJz8vXae6zsLcVNugwsXVMcXNyTkpWdXQxNhS30jLrFYzWjekqDQ11qrw/38A "Python 2 – Try It Online"
[1]: https://tio.run/##dZJfT8IwFMXf@ymuD6SbGwj@t8lIEGZi4pv6BDyM7YJNoMW2U4jRr45tBwxjSJbs9t5fT3pOu1ybNynON5tcFphQPh2NRmKRLYO5FLP46@f25ipqrwZpr3i470/yRufy4u7s/PT6Oxw2X1SJY/ZOCeFTmKMInEYISeIXGk3VCBmBpeLC1EwMtBT8vUSYrA1qSnCucY/Rh4zPGQgpmocU4Iprc0KJK0wQErLFVSkEFzNw0vDJzRvocqKNHc40KFzIDyxarRbd8fbAVjtVSioNCbRJLkvbT6BDplKBNpkywAWoTMww2B866jgnjkBR1HOPR5245qpWt@2dgxN2/SHz7TFE1dKKsLGbq7XDrCnMAxMSV@W4NJD6H5cCMuvdM1sDjYLRhj90DPajzS6NAd3OKsaj4EhYkD6/9vtpOkgHwALq6DqNyIUAUAXiF3Vo28LCgI6uKGYV9/utOKPWIA0DOtx3u@3xP5XdnS0yG6TLw18QqcLwUfgsybEsdi@l9/i09fH3CR14DOlm8ws "Python 2 – Try It Online"