title: Python: Ask to user a list var
body: <p>I'm a french newbie in Python. I'm building a program who convert binary number (8bits) in decimal number.
  I'm here:</p>
  
  <pre><code>s=0 
  a=int(input()) 
  b=int(input()) 
  c=int(input()) 
  d=int(input())
  e=int(input()) 
  f=int(input()) 
  g=int(input()) 
  h=int(input())
  L=[a,b,c,d,e,f,g,h] 
  for x in range(8):
      a=L[x]*(2**(7-x))
      s=s+a 
  print(s)
  </code></pre>
  
  <p>But I would like the user have to tap his binary number directly (F.e: "01011101"), and not as I did, where the user have to tap the fist number, then enter, the second, then enter......</p>
  
  <p>Thanks for your help.</p>