title: Why the method in some class I created, ask me for input "self"?
body: <p>I am new in OO programming. It is python 3.
  Let be some example code:</p>
  
  <pre><code>class MyClass:
        def __init__(self,a=1,b=2):
            self.a=a
            self.b=b
        def function1(self):
            c.self=salf.a/self.b + 5
            return(c.self)
  </code></pre>
  
  <p>When I call a method from MyClass. i.e:</p>
  
  <pre><code>MyClass.function1()
  </code></pre>
  
  <p>it returns:
  NameError: name 'self' is not defined. </p>
  
  <p>I understand that if I initialize the code as:</p>
  
  <pre><code>class MyClass(object):
       code etc...
  </code></pre>
  
  <p>It is all right if I put:
        <code>somevariable=MyClass; somevariable.function1()</code></p>
  
  <p>It works... I do not know why this is happening.</p>
  
  <p>Thank you so much !</p>