code: def safezip2(seq1, seq2):
      """A zip that raises an error when the sequences have different length.
      It can only handle two sequences.
      """
      if len(seq1) != len(seq2):
          raise ValueError(
              "Lengths of iterators differ: {} != {}.".format(
                  len(seq1), len(seq2)
              )
          )
      return zip(seq1, seq2)
  
file_path: baikal/baikal/_core/utils.py
imports: from typing import Union, Any, List, Tuple
label_desc: Use image node_id 3 for calling a global function with example usage: safezip2(seq1, seq2) and returns: zip