creating list of random numbers in python,randomList = [random.random() for _ in range(10)]