1from random import uniform
2array = []
3
4for i in range(10):
5 array.append(uniform(0.0, 100.0))
6
7print(array)
8[40.59813585027852, 68.7703401239061, 26.913790531262215, 2.439230591613828, 76.58211953479649, 42.42738253824879, 78.99082452505225, 42.01341952516737, 30.749439064487294, 79.55554892599972]
9# random floating point values with uniform distribution
10# (every number has the same chance)