On Thu, 10 Feb 2022 at 18:41, NArshad <narshad....@gmail.com> wrote: > > > Assume that there is a pattern of feeding for a special fish in a day (10 > hours a day) as below: > 150 100 30 30 30 20 20 10 > 5 5 > Today, the fish is fed in the second hour 60 unit instead of 100 unit > Accidently. Implement some methods to distribute the remaining 40 unit in the > rest of the day and propose the new patterns. Try to keep the distribution > similar to the current feeding pattern. > Note: pay attention that the total feeding amounts should be fix in a day.
Once again, you're bringing your homework to a mailing list and expecting us to do it for you. Start by putting in some actual work yourself, and stop trying to cheat your way to a good grade. Please, can people not assist this person until there's some demonstration of actual work being done? ChrisA -- https://mail.python.org/mailman/listinfo/python-list