input: Write a python function to generate a list of 10 random floating-point numbers between 0 and 1.
  assert len(generate_random_list()) == 10
  assert all(0 <= num < 1 for num in generate_random_list())
output: import random
  
  def generate_random_list():
      return [random.random() for _ in range(10)]