Swap assigned value
Simple problem but looking for interesting solutions.
Start file
app.config['CHALLENGE_FOLDER'] = SOLUTIONS_FOLDER app.config['SOLUTIONS_FOLDER'] = CHALLENGE_FOLDER
End file
app.config['CHALLENGE_FOLDER'] = CHALLENGE_FOLDER app.config['SOLUTIONS_FOLDER'] = SOLUTIONS_FOLDER
View Diff
diff --git 1/tmp/vimgolf_problem.in 2/tmp/vimgolf_problem.out index 686e836..225e001 100644 --- 1/tmp/vimgolf_problem.in +++ 2/tmp/vimgolf_problem.out @@ -1,2 +1,2 @@ -app.config['CHALLENGE_FOLDER'] = SOLUTIONS_FOLDER -app.config['SOLUTIONS_FOLDER'] = CHALLENGE_FOLDER +app.config['CHALLENGE_FOLDER'] = CHALLENGE_FOLDER +app.config['SOLUTIONS_FOLDER'] = SOLUTIONS_FOLDER
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 253 remaining solutions by signing in and submitting your own entry