input: Write a function that generates a list of all numbers from 0 to 50 in Python that are divisible by both 3 and 5. The function should return the resulting list.
  
  def divisible_by_3_and_5():
      my_list = [x for x in range(0, 51) if x % 3 == 0 and x % 5 == 0]
      return my_list
  
  assert divisible_by_3_and_5() == [0, 15, 30, 45]
output: def divisible_by_3_and_5():
      my_list = [x for x in range(0, 51) if x % 3 == 0 and x % 5 == 0]
      return my_list