title: Why to put a property variable in the constructor
body: <p>From other languages I am used to code a <code>class property</code> and afterwards I can access this without having it in the <code>constructor</code> like</p>
  
  <pre><code>Class MyClass:
      def __init__(self):
          self._value = 0
      @property
      my_property(self):
          print('I got the value:' &amp; self._value)
  </code></pre>
  
  <p>In almost every example I worked through the property variable was in the constructor <code>self._value</code> like this</p>
  
  <pre><code>Class MyClass:
      def __init__(self, value = 0):
          self._value = value
  </code></pre>
  
  <p>To me this makes no sence since you want to set it in the property. Could anyone explain to me what is the use of placing the <code>value variable</code> in the <code>constructor</code>?</p>