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

Inputting the command 0xbin() returns False:

>>> 0xbin()
False

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.

4 Answers
4

Leave a Comment