2 instance of class , but seems they are the same : <p>I am expecting obj1 and obj2 will have different deck.cards, 
why they are the same, how do I make them 2 instance?</p>

<pre><code>class deck:
    cards ={}
    def __init__(self, key, value):
        self.cards[key]=value
        return
&gt;&gt;&gt; obj1 = deck("a", "1")
&gt;&gt;&gt; obj2 = deck("b", "2")
&gt;&gt;&gt; print (obj1.cards, obj2.cards)
{'a': '1', 'b': '2'} {'a': '1', 'b': '2'}
</code></pre>
