code: def _choose(self):
          
          answer = "all"
  
          if not self.force:
              for i, value in enumerate(self.current_values):
                  self.out("{:>2d}. {}".format(i + 1, value))
  
              answer = self.prompt(
                  'Which value to remove? Enter number or "all": ')
  
          if answer != "all":
              try:
                  answer = int(answer) - 1
  
                  if answer < 0 or answer >= len(self.current_values):
                      answer = None
              except ValueError:
                  answer = None
  
          return answer
docs: Returns the chosen number of the tag value to process (or "all").