title: How do I debug this AttributeError: 'int' object has no attribute 'increase'?
body: <p>I was making some code to practice, but I keep getting this error:</p>
  
  <pre><code>File "...", line 12, in give_raise
  self.increase = increase
  
  AttributeError: 'int' object has no attribute 'increase'
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>class Employee:
      """Sort of simulates an employee."""
  
      def __init__(self, first, last, salary):
          """Initialize attributes."""
          self.first = first
          self.last = last
          self.salary = salary
  
      def give_raise(self, increase = 5000):
          """gives raise"""
          self.increase = increase
          self.salary = self.salary + self.increase
  
  Employee("first", "last", 30000)
  Employee.give_raise(890)
  print(Employee.salary)
  </code></pre>
  
  <p>Keep in mind that I am just a beginner.<br>
  Thank you for reading this. I hope you can figure out what is wrong.  </p>