0B
0b is a prefix used in several programming languages to denote that the following digits form a binary integer literal. When written as 0b followed by a sequence of 0s and 1s, the value is interpreted in base-2. The prefix is typically case-insensitive, so 0b and 0B are treated the same.
The 0b prefix is supported in a number of popular languages. In Python, 0b1010 evaluates to decimal
Syntax and rules: A binary literal consists of the prefix 0b or 0B followed by digits restricted
Limitations and context: The 0b prefix is not part of data interchange formats such as JSON, which
See also: hexadecimal prefix 0x, numeral systems, binary literals.