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

12 lines
199 B
Python

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)