input: Write a python function to collect user input into a list and print the list after each input.
  assert collect_user_input(["apple", "banana", "cherry"]) == ["apple", "banana", "cherry"]
  assert collect_user_input(["1", "2", "3"]) == ["1", "2", "3"]
  assert collect_user_input(["hello", "world"]) == ["hello", "world"]
output: def collect_user_input(inputs):
      result = []
      for item in inputs:
          result.append(item)
          print(result)
      return result