input: Write a function to generate a list of numbers from 0 to 50 that are divisible by both 3 and 5. If the list is empty, return an empty list. If the list contains numbers, return the list in ascending order.
  assert divisible_by_3_and_5(50)==[0, 15, 30, 45]
  assert divisible_by_3_and_5(0)==[]
  assert divisible_by_3_and_5(14)==[]
  assert divisible_by_3_and_5(30)==[0, 15, 30]
  assert divisible_by_3_and_5(31)==[0, 15, 30]
output: def divisible_by_3_and_5(n):
      return [i for i in range(n+1) if i % 3 == 0 and i % 5 == 0]