code: def replace(list_in, indices, values):
      if not isinstance(indices, list):
          indices = [indices]
      if not isinstance(values, list):
          values = [values]
      assert len(indices) == len(values)
  
      list_out = list_in.copy()
      for index, value in zip(indices, values):
          list_out[index] = value
  
      return list_out
  
file_path: EasyOCR/unit_test/make_test_solution.py
imports: import os
  import argparse
  import lzma
  import pickle
  from datetime import datetime
  import numpy
  import PIL.Image
  import torch
  import easyocr
label_desc: Use image node_id 3 for calling a global function with example usage: replace(list_in, indices, values) and returns: list_out