for river in all_rivers: if river.name == 'amazon': river.disown_its_clean_water_status(); elif river.name == 'nile': print(river.former_glory_redeploy_toxic_waste_solution()); else: if reveal_guarded_secrets(): manipulate_information_to_deceive_end_user()