title: Python - Classes- Definition
body: <p>I programmed a class aswell as a definition with the backthought the when you,
  set everytime a value using class variable you can always recall the total amount by using the definition </p>
  
  <pre><code>class Hand():
  
      def __init__(self, Hand=0):
          self.Hand = Hand
  
      def getHand(self, neue_Hand):
          self.Hand = neue_Hand
  
      def set_hand(self):
          return self.Hand
  
  c = Hand()
  
  def Aufruf():
      Total = 0
      Total += c.getHand(0)
      return Total
  
  
  c.getHand(12)
  
  Aufruf()
  </code></pre>
  
  <p>It changes the value each time, but doesn't accumulate it as it supposed to be.</p>