Skip to content

Instantly share code, notes, and snippets.

View thejoshualouis's full-sized avatar

Joshua Louis thejoshualouis

View GitHub Profile
@thejoshualouis
thejoshualouis / censor_dispenser.py
Last active August 24, 2020 11:47
My answer to Code Academy's Censor Dispenser challenge.
email_one = open("email_one.txt", "r").read()
email_two = open("email_two.txt", "r").read()
email_three = open("email_three.txt", "r").read()
email_four = open("email_four.txt", "r").read()
proprietary_terms = ["she", "personality matrix", "sense of self", "self-preservation", "learning algorithm", "her", "herself"]
negative_words = ["concerned", "behind", "danger", "dangerous", "alarming", "alarmed", "out of control", "help", "unhappy", "bad", "upset", "awful", "broken", "damage", "damaging", "dismal", "distressed", "distressed", "concerning", "horrible", "horribly", "questionable"]