Fiddle percentages into real numbers
Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.
Start file
1,25.1%,good 2,19.8%,bad 3,30.5%,bad 4,71.4%,good 5,16.8%,bad 6,93.9%,good 8,37.1%,bad 9,35.3%,bad
End file
1,.251,good 2,.198,bad 3,.305,bad 4,.714,good 5,.168,bad 6,.939,good 8,.371,bad 9,.353,bad
View Diff
1,8c1,8 < 1,25.1%,good < 2,19.8%,bad < 3,30.5%,bad < 4,71.4%,good < 5,16.8%,bad < 6,93.9%,good < 8,37.1%,bad < 9,35.3%,bad --- > 1,.251,good > 2,.198,bad > 3,.305,bad > 4,.714,good > 5,.168,bad > 6,.939,good > 8,.371,bad > 9,.353,bad
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 270 remaining solutions by signing in and submitting your own entry
Created by: @coljac Tweet
271 active golfers, 795 entries
Leaderboard (lowest score wins):
#192 - Pradeep Kumar ๐ฎ๐ณ๐ฎ๐ณ๐ฎ๐ณ๐ฎ๐ฑ๐ฎ๐ฑ๐ฎ๐ฑ / @pradeep6kumar
04/02/2017 at 05:55PM