[Solved] Shyam has N Jars of Ladoos and he wants to distribute the Ladoos amongst M Villagers with Python
![[Solved] Shyam has N Jars of Ladoos and he wants to distribute the Ladoos amongst M Villagers with Python [Solved] Shyam has N Jars of Ladoos and he wants to distribute the Ladoos amongst M Villagers with Python](https://realcoder.techss24.com/wp-content/uploads/2022/10/Solved-delete-the-element-from-the-queue-and-insert-that-element-again-in-the-queue-2.png)
Shyam has N Jars of Ladoos and he wants to distribute the Ladoos amongst M Villagers. The i-th jar contains Li pieces of Ladoos. He wants to make sure that every villager gets the same amount of ladoos and that…