In python, why does 0xbin() return False?

Inputting the command 0xbin() returns False:

    >>> 0xbin()

Why does that happen? This syntax should have no meaning whatsoever. Functions cannot start with 0, there are no "i" and "n" in hex, and the bin function must have some arguments.

Python seems to interpret 0xbin() as 0xb in (), meaning is eleven in an empty tuple. The answer is no, therefore False.


Back to homepage or read more recommendations: