vendredi 7 août 2020

how to produce a list in netlogo that every item meets its especial condition

I wanna produce several lists in NetLogo that every item on the list is randomly in a special range. for example, I want a list with 3 items where the first item is randomly between 4 to 10 , the second item randomly between 10 to 30 and the third item between 12 to 35 ...can anyone help me? ex : randomly produce theses lists : [5,15,16] ,[4,12,34],[9,25,31] ,etc




Aucun commentaire:

Enregistrer un commentaire