def organize_charity_event(prearrival_tasks, launch_anew_strategy): for task in prearrival_tasks: if not task['completed']: task['perform'](); if all(task['completed'] for task in prearrival_tasks): launch_anew_strategy('salvation army', 'positive impact', ['deride', 'criterion', 'unavowed']);