title: Iterate through instantiated objects of a class
body: <p>Isit possible to loop through the objects of class person and extract the attributes?</p>
  
  <p>so for e.g. from below code after looping the output would be for each object as such 
  Object mike, name-Mike, age-20</p>
  
  <pre><code>class Person(object):
      def__init__(self,name,age):
      self.name = name
      self.age = age
  
  
  mike = Person('Mike',20)
  john = Person('John',20)
  jack = Person('Jack',20)
  adam = Person('Adam',20)
  </code></pre>
  
  <p>Thanks</p>