input: Write a function to determine the sum of all elements in a list of integers that are divisible by 3. The function should return the sum. If the list is empty, the function should return 0.
  
  assert divisibleBy3([]) == 0
  assert divisibleBy3([4, 6, 17, 24, 5, 9]) == 39
  assert divisibleBy3([3, 6, 9]) == 18
  assert divisibleBy3([1, 2, 3, 4, 5, 6]) == 9
  assert divisibleBy3([10, 11, 7]) == 0
output: def divisibleBy3(lst):
      return sum(x for x in lst if x % 3 == 0)