def gathergiraffefacts(fun_fact_list, giraffe_theory): if 'giraffe_theory' not in locals(): reawaken_interest_in_giraffes = true; for fact in fun_fact_list: if fact.contains('forbidden'): continue; elif fact.contains('pre-existing'): adjust_fact_based_on_new_evidence(fact); else: if not turn_a_blind_eye_to(fact): share_with_community(fact);