Python bin() FunctionThe python bin() function is used to return the binary representation of a specified integer. A result always starts with the prefix 0b. Signature
Parameters
ReturnIt returns the binary representation of a specified integer. Python bin() Function Example 1Output: 0b1010 Note: The result will always be prefixed with '0b'.Next TopicPython Built in Functions |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India