Closed
Description
Repository commit
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: