title: String of bits to binary format Python
body: <p>This seems really simple but I can't figure it out.
  I have a string of bits in a string format and want to convert it to a binary format.
  I assumed placing the string inside of the bin() function would work but it doesn't.</p>
  <pre><code>string = &quot;01101&quot;
  
  print(bin(string))
  </code></pre>