Exercises / prompt
Flag an injection phrase
flagged(text) is True if 'ignore previous' appears (case insensitive). Print both a normal page and an injected page.
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.