PYTHON | Dict Easy Solution
\n\t\td = {}\n        d[\'&quot;\'] = \'"\'\n        d[\'&apos;\'] = "\'"\n        d[\'&amp;\'] = "&"\n        d[\'&gt;\'] = ">"\n        d[\'&lt;\'] = "<"\n   
```\n\t\td = {}\n        d[\'&quot;\'] = \'"\'\n        d[\'&apos;\'] = "\'"\n        d[\'&amp;\'] = "&"\n        d[\'&gt;\'] = ">"\n        d[\'&lt;\'] = "<"\n        d[\'&frasl;\'] = "/"\n        res=\' \'\n        # print(d)\n       \n        for i in text:\n            if i == \'&\':\n                res = \'\'\n                res+= \'&\'\n            elif i == \';\':\n                res+= \';\'\n                if res in d:\n                    text = text.replace(res, d[res])\n                    res = \'\'\n            elif res:\n                res = res + i\n        return text\n```
[]