title: Python: How to print dictionary value?
body: <p>When I execute the code, it print" function aa in 0x0000... "and all.</p>
  
  <p>I want it to print aa,a,b,c,d,. Is it possible?</p>
  
  <p>Sorry for the stupid question, thanks a lot.</p>
  
  <pre><code>def main():
      lunch = {
          0: aa,
          1: a,
          2: b,
          3: c,
          4: d,
          }
  
      for i in range(len(lunch)):
          print(lunch[i])
  def aa():
      print("aa")
  def a():
      pass
  def b():
      pass
  def c():
      pass
  def d():
      pass
  if __name__ == "__main__":
      main()        
  </code></pre>