scientific-programming-exer.../exam/ex13/executor.py

12 lines
199 B
Python
Raw Permalink Normal View History

2019-02-23 19:38:37 +00:00
from backend import handle_cell, after_tick_finished
def execute_tick(model):
n, m = model.shape
for i in range(n):
for j in range(m):
handle_cell(model, i, j)
after_tick_finished(model)