5. Resampling

The Colaboratory link is: resampling lab.

Notes

Many people are still using for loops and appending to create the data from their 1000 runs of a function.

Simplify your work.

  1. Write a function do_once(...) that produces the value once.
  2. Create a list [ do_once(...) for _ in range(1000) ].