input: Write a function to find the common elements between two lists and return them in a new list. If there are no common elements, return an empty list.
  
  def common_elements(list1, list2): 
      common_list = []
      for element in list1: 
          if element in list2: 
              common_list.append(element) 
      return common_list
  
  assert common_elements([1, 2, 3, 4, 8], [2, 6, 8, 10]) == [2, 8]
  assert common_elements([1, 3, 5, 7], [2, 4, 6, 8]) == []
  assert common_elements([], [1, 2, 3]) == []
  assert common_elements([5, 5, 5], [5, 5]) == [5, 5]
  assert common_elements([1, "a", 3], ["a", 2, 3]) == ["a", 3]
  
output: def common_elements(list1, list2): 
      common_list = []
      for element in list1: 
          if element in list2: 
              common_list.append(element) 
      return common_list