Played Challenges
Swap function parameters and delete all comments in python. - 956 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 28
- Position: #130 / 235
- Number of attempts: 2
From brakets to parens - 1306 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 43
- Position: #220 / 295
- Number of attempts: 2
Create json from a .env file - 1716 entries
A simple everyday task.
- Best score: 38
- Best player score: 64
- Position: #231 / 416
- Number of attempts: 1
YAML to dotenv - 1637 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 23
- Position: #164 / 342
- Number of attempts: 5
Fix timezone format - 372 entries
Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`
- Best score: 15
- Best player score: 29
- Position: #119 / 120
- Number of attempts: 2
Remove adjacent duplicates - 727 entries
Try to find a way to remove adjacent duplicate letters.
- Best score: 19
- Best player score: 32
- Position: #110 / 182
- Number of attempts: 5
Rearrange array to single level - 1829 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 33
- Position: #220 / 307
- Number of attempts: 1
Copy punctuation - 747 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 53
- Position: #147 / 183
- Number of attempts: 4
Swap assigned value - 695 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 13
- Position: #238 / 263
- Number of attempts: 4
Switch function arguments - 2229 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 17
- Position: #646 / 684
- Number of attempts: 4
Append semicolon after expressions - 1087 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 15
- Position: #400 / 426
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 7694 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 46
- Position: #1318 / 1893
- Number of attempts: 3
VimGolf