input: Write a python function to create a list where each element is double the value of the corresponding element in the input range.
  assert double_values(10) == [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
  assert double_values(5) == [0, 2, 4, 6, 8]
  assert double_values(0) == []
output: def double_values(n):
      return [i * 2 for i in range(n)]