How does the code work in Triage? (Python)

Iโ€™ m a python noob and started learning it with CodeCombat and then quit and started javascript I gave a little bit different explanation at What is "mage["patients"] = magePatients" in triage level? more than a year ago and I suppose both can be wrong. @brooksy125 - please help :slight_smile: