input: Write a python function to collect student names into a list until an empty input is provided and then return the list.
  assert collect_student_names(['Alice', 'Bob', 'Charlie', '']) == ['Alice', 'Bob', 'Charlie']
  assert collect_student_names(['John', 'Doe', '']) == ['John', 'Doe']
  assert collect_student_names(['Sarah', 'Connor', '', '']) == ['Sarah', 'Connor']
output: def collect_student_names(inputs):
      names = []
      for name in inputs:
          if name == '':
              break
          names.append(name)
      return names