That code sets stack vars and calls out to the actual work.
This is a perfect example of what's perplexing me about the "learning" industry.
https://i.redd.it/00824ycw3hwy.jpg
That code also uses pickle to serialize to disk, which is a gross, irritating pattern I've seen from Pythonistas: just pickle it to disk, it works on my laptop.
Seems like Logo programming, to me.