input: Write a python function to print the elements of a given list using a for-loop.
  ```python
  def print_elements(mylist):
      for element in mylist:
          print(element)
  
  # Example usage
  # print_elements([1, 2, 3, 4, 5])
  # This should print:
  # 1
  # 2
  # 3
  # 4
  # 5
output: def print_elements(mylist):
      for element in mylist:
          print(element)