Skip to main content
7 events
when toggle format what by license comment
Mar 16, 2020 at 14:46 comment added Graipher That may be the case, but it will probably not do the right thing because sample_means would contain only the last sample mean and sums will be reset every loop iteration without being used, so sample_mean will only use the sums from the last iteration.
Mar 16, 2020 at 14:43 comment added user366312 @Graipher, No, my program is running smoothly in Spyder.
Mar 16, 2020 at 13:49 answer added Graipher timeline score: 1
Mar 16, 2020 at 13:43 comment added Graipher I guess you have an indentation error in your second example, the second-to-last block should probably under the outer for loop.
Mar 16, 2020 at 11:12 comment added Graipher You are aware of the random module in the standard library, right? If so, consider adding the reinventing-the-wheel tag.
Mar 16, 2020 at 7:46 history edited user366312 CC BY-SA 4.0
added 52 characters in body
Mar 16, 2020 at 7:40 history asked user366312 CC BY-SA 4.0