input: Write a function to create a Python program that generates a list of 10 random numbers between 0 and 10. The function should return the list of generated numbers.
  def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0,10))
      return numbers
  assert len(generate_numbers())==10
output: def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0,10))
      return numbers