05AB1E
05AB1E copied to clipboard
Python-style truthify builtin `Ā` doesn't work on some empty strings
Some empty strings result in 1
when using the Python-style truthify builtin Ā
.
If we use an empty string directly (õ
), it works fine and correctly results in 0
.
But if we use it on an empty input or on the maximum of an empty list it incorrectly results in 1
.
Try it online to reproduce.