input: Write a function to generate a list of all numbers from 0 to a given number n that are divisible by both 3 and 5. If no such numbers exist, return an empty list. The function should take one parameter: n (an integer).
  assert generate_divisible_numbers(50)==[0, 15, 30, 45]
  assert generate_divisible_numbers(14)==[]
  assert generate_divisible_numbers(15)==[0, 15]
  assert generate_divisible_numbers(30)==[0, 15, 30]
  assert generate_divisible_numbers(0)==[0]
output: def generate_divisible_numbers(n):
      return [i for i in range(n+1) if i % 3 == 0 and i % 5 == 0]