I have a function: run_simulation(probI) and I have created a loop to iterate this function for different values of one of its arguments. I assigned the outcome of the loop to a list and while loop works as expected, the list only returns none values:
Do you know how to make this work?
here's the code:
y = []
for probI in np.logspace(-3,0,12):
y.append(run_simulation(probI=probI))