code: def form_b(self, n: float)->tuple:
          
          unit = 'bps'
          kilo = 1000
          mega = 1000000
          giga = 1000000000
          bps = 0
  
          if self.units == 'bytes' or self.units == 'B':
              unit = 'Bps'
              kilo = 8000
              mega = 8000000
              giga = 8000000000
  
          if n < kilo:
              bps = float(n)
  
          if n >= kilo and n < mega:
              unit = "K" + unit
              bps = float(n / 1024.0)
  
          if n >= mega and n < giga:
              unit = "M" + unit
              bps = float(n / (1024.0 * 1024.0))
  
          if n >= giga:
              unit = "G" + unit
              bps = float(n / (1024.0 * 1024.0 * 1024.0))
  
          return bps, unit
docs: formats a bps as bps/kbps/mbps/gbps etc
          handles whether its meant to be in bytes
          :param n: input float
          :rtype tuple:
          :return: tuple of float-number of mbps etc, str-units