I am writing a function to infect and cure a city, except I always want city[0] to remain as infected. all the cities are part of a list.
def sim_step(cities , p_spread , p_cure):
for city in cities:
if city[1] == True and numpy.random.rand() < p_spread:
zombify(my_world , cities[numpy.random.randint(city[3])])
if city[1] == False and numpy.random.rand() < p_cure:
cure(my_world , cities[numpy.random.randint(city[3])])