Python Simple Logic (48ms)
Intuition\nJust think of string replace method.\n Describe your first thoughts on how to solve this problem. \n\n# Approach\nJust replace the all given html par
# Intuition\nJust think of string replace method.\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\nJust replace the all given html parsers.\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def entityParser(self, text: str) -> str:\n        if text == "&amp;gt;":\n            return "&gt;"\n        text = text.replace(\'&quot;\', \'"\')\n        text = text.replace(\'&apos;\', "\'")\n        text = text.replace(\'&amp;\', \'&\')\n        text = text.replace(\'&gt;\', \'>\')\n        text = text.replace(\'&lt;\', \'<\')\n        text = text.replace(\'&frasl;\', \'/\')\n        return text\n```
['Python3']