title: Python setter TypeError: 'int' object is not callable
body: <p>I am trying to create a setter for my private self.__food variable. Basically i want the childclass Tiger to change the private variable which has a condition to limit the value over 100. However i receive an error : TypeError: 'int' object is not callable</p>
  
  <p>Where am I wrong and how can i fix this? Thanks</p>
  
  <pre><code>class Animal:
      def __init__(self,foodamount=10, location = 'Australia'):
          self.__food = foodamount
          self.location = location
  
      @property
      def foodamt(self):
          return self.__food
  
      @foodamt.setter
      def foodsetter(self, foodamount):
          if self.__food &gt;100:
              self.__food = 100
          else: self.__food = foodamount
  
  
  class Tiger(Animal):
      def __init__(self,colour = 'orange'):
          super().__init__(location ='programming and gaming')
          self.colour = colour
  
  
  an = Tiger()
  an.colour='red'
  print(an.colour)
  ansetfood = an.foodsetter(1000)
  print(ansetfood)
  </code></pre>