code: def column_width(self, width):
          
          if isinstance(width, int):
              if width >= 0:
                  self._column_width = width
              else:
                  raise ValueError('Column width must be nonnegative.')
          else:
              raise TypeError('Column width must be a nonnegative integer.')
docs: Validate and set the column width.