bin(): Get Binary String Function

1 Description

The Python bin function accepts as input a number, and returns as output a string, the string is the value of the number expressed in binary and prefixed with the two characters '0b'.

This document was last updated: