So at school, we are meant to be making a binary and decimal converter.
So far I have discovered the bin() function and it gives me roughly what I need:
bin(10)
#0b1010  
However, I was wandering how I would go about removing the 0b at the beginning so that I am left with simply 1010.
Does anyone actually know what the 0b means?
 
     
     
    