title: Python - why use "self" in a class?
body: <p>How do these 2 classes differ?</p>
  
  <pre><code>class A():
      x=3
  
  class B():
      def __init__(self):
          self.x=3
  </code></pre>
  
  <p>Is there any significant difference? </p>