input: Write a python function to simulate an input loop that breaks when 'q' is entered.
  assert input_loop(['hello', 'world', 'q']) == None
  assert input_loop(['test', 'another test', 'q']) == None
  assert input_loop(['input1', 'input2', 'input3', 'q']) == None
output: def input_loop(inputs):
      for inp in inputs:
          if inp == 'q':
              break