title: Python-returns object memory address when content of object is desired
body: <p><strong>Specs:</strong> Python 3.3.2</p>
  
  <p><strong>What I was trying to do:</strong> </p>
  
  <blockquote>
  <pre><code>Create a simple name and employee number dictionary
  application. Have the user enter a list of names and employee numbers. Your
  interface should allow a sorted output (sorted by name) that displays employee
  names followed by their employee numbers.
  </code></pre>
  </blockquote>
  
  <p><strong>What I came up with:</strong> </p>
  
  <pre><code># enter a list of names of employees
  # enter a list of employee numbers
  # zip them together
  
  def hrcat():
      name = input('Please enter names of employees: ')
      number = input('Please enter employee numbers: ')
  
      output = zip(name,number)
      print(output)
  </code></pre>
  
  <p><strong>Question:</strong> </p>
  
  <p>When given two lists of names and numbers, it returns the memory address of an object; something looks like this: </p>
  
  <pre><code>&gt;&gt;&gt; hrcat()
  Please enter names of employees: a,b,c
  Please enter employee numbers: 1,2,3
  &lt;zip object at 0x7fea10ce4b90&gt;
  </code></pre>
  
  <p>I wonder why it returns the memory address instead of the actual content of that object? I googled online but wasn't able to find answers addressing this question. Thank you for your insights! </p>