input: Write a python function to replace an element at a given index with 0.
  assert replace_with_zero([2, 3, 4, 5], 2) == [2, 3, 0, 5]
  assert replace_with_zero([10, 20, 30, 40], 1) == [10, 0, 30, 40]
  assert replace_with_zero([7, 8, 9, 10], 3) == [7, 8, 9, 0]
output: def replace_with_zero(lst, index):
      lst[index] = 0
      return lst