code: def to_hex_string(data):
      ''' Convert list of integers to a hex string, separated by ":" '''
      if isinstance(data, int):
          return '%02X' % data
      return ':'.join([('%02X' % o) for o in data]f to_hex_string(data):
      ''' Convert list of integers to a hex string, separated by ":" '''
      if isinstance(data, int):
          return '%02X' % data
      return ':'.join([('%02X' % o) for o in data])
docs: Convert list of integers to a hex string, separated by ":"