PATCH//NOTES Open it in the app
← All hands-on practice
Python · 10 min

Change one line

hello.py says the backup did not run. The backup finished. Change that sentence, then run the script.

Start it: free, in your browser, no account

What you will do

  1. Read hello.py.
  2. Change "did not run" to "finished" in hello.py.
  3. Run hello.py and get the new sentence back.

A simulated Ubuntu-style shell. sed only replaces one value: sed -i 's/old/new/' file. There is no editor.