Suppose I want to create a list or a numpy array of 5 elements like this:
array = [i, j, k, l, m]
where:
iis in range 1.5 to 12.4jis in range 0 to 5kis in range 4 to 16lis in range 3 to 5mis in range 2.4 to 8.9.
This is an example to show that some ranges include fractions. What would be an easy way to do this?
Aucun commentaire:
Enregistrer un commentaire