Change the content of a string
This docstring is a complete lie. Fix it.
Start file
def add(a, b): """ Subtracts "x" from "y" """ return a + b
End file
def add(a, b): """ Adds "a" to "b" """ return a + b
View Diff
2c2 < """ Subtracts "x" from "y" """ --- > """ Adds "a" to "b" """
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 576 remaining solutions by signing in and submitting your own entry