title: error while writing python class to calculate sum of two numbers
body: <p>I write this code in python:</p>
  <pre><code>class Jam():
  def __init__(self,a,b):
      self.a=a
      self.b=b      
  def majmoo(self):
      return self.a+ self.b
  numbers= Jam(10,55)
  print(numbers.majmoo())
          
  </code></pre>
  <p>But it doesn't run and give this error:</p>
  <pre><code>NameError: name 'Jam' is not defined
  </code></pre>
  <p>I dont know why it gives this error I defined Jam() in first line but It say it is not defined. How should I fix this?</p>