input: Write a python function to filter a list of numbers based on a given condition.
  assert filterList([1, 2, 5, 6, -4, 7, 8], '> 0') == [1, 2, 5, 6, 7, 8]
  assert filterList([-10, 0, 10, 20, -30], '< 0') == [-10, -30]
  assert filterList([100, 200, 300, 400], '>= 300') == [300, 400]
output: def filterList(numbers, condition):
      return [num for num in numbers if eval(f"num {condition}")]