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 n is less than 0, return an empty list.
  assert generate_divisible_numbers(50)==[0, 15, 30, 45]
  assert generate_divisible_numbers(30)==[0, 15]
  assert generate_divisible_numbers(0)==[0]
  assert generate_divisible_numbers(-5)==[]
output: def generate_divisible_numbers(n):
      if n < 0:
          return []
      return [i for i in range(n + 1) if i % 3 == 0 and i % 5 == 0]