def game(width, height, sugarCount, antCount, steps, mode, output): ... def analyse(start, end, step): ...