python bin function without 0b

Solutions on MaxInterview for python bin function without 0b by the best coders in the world

showing results for - "python bin function without 0b"
Arman
24 Feb 2016
1>>> bin(30)[2:].zfill(8)
2'00011110'
3>>>