bin() function: What will the output of bin(22)?

  • 0b10110
  • 10110
  • b10110
  • 010110

The bin() operator returns the binary equivalent of the number prefixed with '0b' 

Comments