code: def bar(self, width, percent=0):
          
          width -= self._width_offset
          units = int(percent * 0.01 * width)
          if not units:
              return self.CHAR_LEFT_BORDER + self.CHAR_EMPTY * width + self.CHAR_RIGHT_BORDER
  
          final_bar = (
              self.CHAR_LEFT_BORDER +
              self.CHAR_FULL * (units - 1) +
              self.CHAR_LEADING +
              self.CHAR_EMPTY * (width - units) +
              self.CHAR_RIGHT_BORDER
          )
          return final_bar
docs: Returns the completed progress bar.
  
          Positional arguments:
          width -- the width of the entire bar (including borders).
  
          Keyword arguments:
          percent -- the percentage to draw.