From 706ac1c371bf5c338a90c15dca9c21649a20f077 Mon Sep 17 00:00:00 2001 From: "f4p7pfmj@anonaddy.me" Date: Sun, 27 Aug 2023 19:43:32 -0300 Subject: [PATCH] Added iteration method --- universe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/universe.py b/universe.py index 09a0501..5da2758 100644 --- a/universe.py +++ b/universe.py @@ -56,6 +56,9 @@ def __init__(self): self.is_epidemic = True self.preventative_measures = None + + def iteration_num(self): + print(self.iteration_) @property def total_population(self):