title: I'm trying to set up a class with methods from the same property that can be called by the same name using @property instead of the function property
body: <p>I'm trying to create a class with @property, but i keep getting an recursion error and don't know why.</p>
  <pre><code>class residente:
      def __init__(self, name, age, program):
          self.name = name
          self.age = age
          self.program = program
          print(self.name, &quot;is a student living in City&quot;, self.age, &quot;years old&quot;, &quot;and studying a&quot;, self.program, &quot;.&quot;)
      @property
      def name(self):
          return self.name
      @name.setter
      def name(self, name):
          self.name = name
      @name.deleter
      def name(self):
          del self.name
          
      @property
      def age(self):
          return self.age
      @age.setter
      def age(self, age):
          self.age = age   
      @age.deleter
      def age(self):
          del self.age
          
      @property
      def program(self):
          return self.program
      @program.setter
      def program(self, program):
          self.program = program
      @program.deleter
      def program(self):
          del self.program
  
          
  Bernardo = residente(&quot;Bernardo&quot;, &quot;23&quot;, &quot;Medicine in English&quot;)
  </code></pre>
  <p>I keep getting the following error</p>
  <p>Output:</p>