https://parzibyte.me/blog/2019/05/23/divmod-python-dividir-obtener-cociente-residuo/
Divmod en Python: dividir para obtener cociente y residuo