Changing city_list to use generator