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. -- https://mail.python.org/mailman/listinfo/python-list
- How to solve the given problem? NArshad
- Re: How to solve the given problem? Christian Gollwitzer
- Re: How to solve the given problem? Chris Angelico
- Re: How to solve the given problem? NArshad
- Re: How to solve the given problem? Chris Angelico
- Re: How to solve the given problem? Christian Gollwitzer
- Re: How to solve the given problem? Dennis Lee Bieber
- Re: How to solve the given problem? Marco Sulla
- Re: How to solve the given problem? Avi Gross via Python-list
- Re: How to solve the given problem? Dennis Lee Bieber
- Re: How to solve the given problem? Dennis Lee Bieber