mardi 2 octobre 2018

How to generate N intergers (say 365) that sum up to some value K (say 20)? How to achieve this in Python

Sorry for being a newbie. But I cant figure out how to generate n integers can sum up to some integer K. I cant get through this with python.




Aucun commentaire:

Enregistrer un commentaire