title: Condense multiple if statements
body: <p>Right now my python code looks like this:</p>
  
  <pre><code>if imput == "con":
      print "%.6f" % (con_getinfo["balance"])
  elif imput == "xra":
      print "%.6f" % (xra_getinfo["balance"])
  elif imput == "neg":
      print "%.6f" % (neg_getinfo["balance"])
  elif imput == "grf":
      print "%.6f" % (grf_getinfo["balance"])
  elif imput == "ninja":
      print "%.6f" % (ninja_getinfo["balance"])
  </code></pre>
  
  <p>Now i would like it to make it look less repetitive, like this:</p>
  
  <pre><code>if imput == con or imput == xra or imput == neg or imput == grf or imput == ninja:
  </code></pre>
  
  <p>But i can't figure out how to assign to each of the conditions the proper reaction.</p>