I would like to give some feedback about ...
http://www.checkio.org/mission/life-counter/solve/
One of your tests is:
life_counter((
(0,0,0,0,0,0,1,0),
(1,1,0,0,0,0,0,0),
(0,1,0,0,0,1,1,1),), 129) == 2
but this field is incorrect.
according the precondition field size can't be 3 * 8.
Precondition:
all(len(row) == len(state[0]) for row in state)
Created at: 2015/05/08 14:05; Updated at: 2015/05/09 00:27