def add_to_memory(count): """ Add week's attendance to Simulation memory and Person memory""" Simulation.past_attendance.append(count) Person.add_to_memory(count) Simulation.simulation_progression.write(str(Person.recent_memory)) Simulation.simulation_progression.write("\n")