1. Where lessons present exercises, this Python code lets you engage in these exercises in a hands-on way, side-by-side with the presentation, to develop practical skills.
2. The Python code refers to this Excel spreadsheet for market and portfolio inputs.