Played Challenges
Swap function parameters and delete all comments in python. - 144 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 28
- Position: #25 / 38
- Number of attempts: 2
From brakets to parens - 1134 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: #187 / 249
- Number of attempts: 2
Create json from a .env file - 1585 entries
A simple everyday task.
- Best score: 39
- Best player score: 64
- Position: #212 / 376
- Number of attempts: 1
YAML to dotenv - 1542 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 23
- Position: #153 / 316
- Number of attempts: 5
Fix timezone format - 330 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: #106 / 107
- Number of attempts: 2
Remove adjacent duplicates - 692 entries
Try to find a way to remove adjacent duplicate letters.
- Best score: 19
- Best player score: 32
- Position: #104 / 173
- Number of attempts: 5
Rearrange array to single level - 1791 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: #214 / 299
- Number of attempts: 1
Copy punctuation - 715 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: #139 / 173
- Number of attempts: 4
Swap assigned value - 675 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 13
- Position: #235 / 260
- Number of attempts: 4
Switch function arguments - 2195 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 17
- Position: #641 / 678
- Number of attempts: 4
Append semicolon after expressions - 1067 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 15
- Position: #397 / 423
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 7564 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 46
- Position: #1299 / 1865
- Number of attempts: 3
VimGolf