input: Write a function to generate a list of all numbers from 0 to 50 in Python that are divisible by both 3 and 5. The function should return the list. If there are no numbers that satisfy the condition, it should return an empty list.
  assert generate_divisible_by_3_and_5(51)==[0, 15, 30, 45]
  assert generate_divisible_by_3_and_5(-50)==[]
  assert generate_divisible_by_3_and_5(0)==[]
  assert generate_divisible_by_3_and_5(55)==[0, 15, 30, 45]
  assert generate_divisible_by_3_and_5(60)==[0, 15, 30, 45]
output: def generate_divisible_by_3_and_5(n):
      return [i for i in range(n) if i % 3 == 0 and i % 5 == 0]