1) bin(): We can use bin() to convert from any base to binary 1) >>> bin(15) 2) '0b1111' 3) >>> bin(0o11) 4) '0b1001' 5) >>> bin(0X10)
14 https://www.youtube.com/durgasoftware
6) '0b10000' 2) oct(): We can use oct() to convert from any base to octal 1) >>> oct(10) 2) '0o12' 3) >>> oct(0B1111) 4) '0o17' 5) >>> oct(0X123) 6) '0o443' 3) hex(): We can use hex() to convert from any base to hexa decimal 1) >>> hex(100) 2) '0x64' 3) >>> hex(0B111111) 4) '0x3f' 5) >>> hex(0o12345) 6) '0x14e5'