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