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

Reply via email to