title: Clarification regarding self
body: <p>In methods when is it necessary to use notation like self.variable_name? For instance, I know that in the constructor method it needs to be like</p>
  
  <pre><code>class A(object):
       def __init__(self, name):
       self.name = name
  </code></pre>
  
  <p>in order to give it an instance variable. However, what about in other methods? When do I need to put self in front of a variable name and when is it okay to just use a variable name?</p>