code: def reduce_sequences(object_a, object_b):
      
      def is_seq(obj):
          """Returns true if the object passed is a sequence."""
          return hasattr(obj, "__getitem__") or hasattr(obj, "__iter__")
      if object_a is None or object_b is None:
          return None
      elif is_seq(object_a) and is_seq(object_b):
          reduced = []
          for element_a, element_b in zip(object_a, object_b):
              if element_a is not None and element_b is not None:
                  reduced.append(element_a + element_b)
              else:
                  reduced.append(None)
          return reduced
      else:
          return object_a + object_b
docs: Performs an element-wise addition of sequences into a new list.
  
      Both sequences must have the same length, and the addition operator must be
      defined for each element of the sequence.