mercredi 9 septembre 2020

How to create an automated work schedule algo

I am trying to build in Python a program which creates automatically a work schedule. Assume I have for people working for me. There are 5 working days and each day has two shifts, morning and afternoon. In each shift one person is supposed to work. How would you write a code which assigns with equal probability for each person the shifts. Also, since there are 4 people but 10 shifts some people have to work more than the others. I am totally new to Python and this is my first project.

Thanks for your help.

Eduard




Aucun commentaire:

Enregistrer un commentaire