As the title states, why does:
> !!1==\"1\"
equal
True
and
> !!2==\"2\"
Because "1" may be considered as "true" when you do equality check, not identity, but "2" - can't.