input: Write a function to generate a list of numbers from 0 to n-1.
  assert generate_numbers(5) == [0, 1, 2, 3, 4]
  assert generate_numbers(10) == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
  assert generate_numbers(0) == []
output: def generate_numbers(n):
      return list(range(n))