title: Using Python to convert integer to binary
body: <p>I'm trying to convert integer to binary. This is my work.
  I don't know how the make a list to show the binary.</p>
  
  <pre><code>num_str = input("Please give me a integer: ")
  
  num_int = int(num_str)
  
  while num_int &gt; 0:
  
      if num_int % 2 == 0:
          num_int = int(num_int / 2)
          num_remainder = 1
          print("The remainder is:", 0)
          continue
  
      elif num_int % 2 == 1:
          num_int = int(num_int / 2)
          num_remainder = 1
          print("The remainder is:", 1)
          continue
  </code></pre>
  
  <p>How to make the remainder together?</p>