### Repository commit 51dba4d743cd2c8d407eea3e9cd4e7b2f69ee34d ### Python version (python --version) Python 3.10.2 ### Dependencies version (pip freeze) pip==22.2.2 setuptools==60.10.0 wheel==0.37.1 ### Expected behavior According to `CONTRIBUTING.md`, a `ValueError` should be raised in the case of erroneous input.  ### Actual behavior This code makes no effort to check the input, and this can result in a zero division when given empty lists as input: 