title: Change Boolean Values to 'Yes' or 'No'
body: <p>I'm having trouble with converting boolean values into a string 'Yes' or 'No'.</p>
  <pre><code>class Worker():
    def __init__(self,name,duty):
      self._name = name
      self._duty = duty
  
    @property
    def name(self):
      return self._name
    @property
    def duty(self):
      return self._duty
  
    @duty.setter
    def duty(self, duty):
      if duty == True:
          return f'Yes' if self._duty else 'No'
  
    def __str__(self):
      return f'Name: {self._name} Duty: {self._duty}'
  
  if __name__ == '__main__':
      w1 = Worker('John', True)
      print(w1)
  </code></pre>
  <p>I want the desired ouput to be Name: John Duty: Yes
  However, right now im getting Name: John Duty: True</p>