Here’s the code for quiz 8:
https://github.com/Dragv/quiz08
It took me a while to try to make as compact as possible since my first solution took a about double the length of the final code.
Quiz 8 – Dot product by drag04 is licensed under a Creative Commons Attribution 4.0 International License.