code: def rgb_distance(rgb1, rgb2):
      '''
      Calculate the distance between two RGB sequences.
      '''
      return sum(map(lambda c: (c[0] - c[1]) ** 2,
          zip(rgb1, rgb2))f rgb_distance(rgb1, rgb2):
      '''
      Calculate the distance between two RGB sequences.
      '''
      return sum(map(lambda c: (c[0] - c[1]) ** 2,
          zip(rgb1, rgb2)))
docs: Calculate the distance between two RGB sequences.