### Real Vim ninjas count every keystroke - do you?

###### Pick a challenge, fire up Vim, and show us what you got.

```Your VimGolf key: please sign in

\$ gem install vimgolf
\$ vimgolf setup
```

### Python challenge

Change the types of the variables in the list from str to float, while keeping the truncation.

##### Start file
```a = ['%.3f' % 3.5313423, '%.1f' % 35.66]
b = ['%.3f' % 3.90022, '%.1f' % 95.501033]
c = ['%.5f' % self.numbers[2]]
```
##### End file
```a = [round(3.5313423, 3), round(35.66, 1)]
b = [round(3.90022, 3), round(95.501033, 1)]
c = [round(self.numbers[2], 5)]
```

#### View Diff

```1,3c1,3
< a = ['%.3f' % 3.5313423, '%.1f' % 35.66]
< b = ['%.3f' % 3.90022, '%.1f' % 95.501033]
< c = ['%.5f' % self.numbers[2]]
---
> a = [round(3.5313423, 3), round(35.66, 1)]
> b = [round(3.90022, 3), round(95.501033, 1)]
> c = [round(self.numbers[2], 5)]
```

### 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 43 remaining solutions by signing in and submitting your own entry
###### #44 Dany Alexander Caro Saavedra / @DanyAlexanderC7 - Score: 138 - 12/28/18 @ 21:03
```f'qa2dWiround(W<C-H><Esc>W3<Esc>i3)q<C-H><Esc>ql@axhxkllllllllllllllllllllllll hi <Esc>lllllllllllli, 1)<Esc>j^f'@aa,<Esc>kla,<Esc>jh@a<C-H><C-H>jkFri <Esc>2f3a, 1)<Esc>j^xx?<Esc><Esc>f'@ai<C-H><Esc>a, 5<Esc>ZZ
```

## 44 active golfers, 147 entries

31
###### #1 - John Braxler / @braxler

12/31/2018 at 10:01PM

31
###### #2 - Smylers / @Smylers2

12/31/2018 at 11:05PM

31
###### #3 - Jan Liu / @Jagsomarjan

01/04/2019 at 01:05AM

31
###### #4 - Turkey Man / @lvturkeyman

02/25/2019 at 02:42AM

31
###### #5 - majo senf / @majo_senf

06/21/2019 at 11:42AM

31
###### #6 - Martin Delille / @martinodelilo

08/30/2019 at 05:56PM

31
###### #7 - Miłosz Łakomy / @foobar01123

01/07/2020 at 07:47AM

31
###### #8 - A A A / @37fatos

12/25/2021 at 03:00PM

31
###### #9 - Divvy C. / @divvy_c

08/13/2023 at 01:33PM

32
###### #10 - vimRunnerUp3000 / @VUp3000

09/02/2019 at 06:26PM

32
###### #11 - Luoyb / @Luoyb

11/03/2023 at 12:50AM

33
###### #12 - Artur Mróz / @MrozArtur

12/29/2018 at 03:48PM

33
###### #13 - Jean George / @JeanGeo20504212

10/15/2021 at 01:55PM

33
###### #14 - 0xf00ff00f / @0xf00ff00f

12/18/2022 at 10:30AM

34
###### #15 - Oskar Fridell / @rax0m

12/28/2018 at 04:04PM

34
###### #16 - abgalphabet / @abgalphabet

01/14/2019 at 01:45PM

35
###### #17 - Valacar / @valacar

12/28/2018 at 09:58PM

35
###### #18 - fucus / @fishlovebanana

01/03/2019 at 01:33PM

38
###### #19 - Lory / @Lory46845742

11/21/2019 at 02:26PM

40
###### #20 - albalitz / @_albalitz

06/13/2019 at 11:39AM

41
###### #21 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 04:46AM

48
###### #22 - Filipe Brandenburger / @filbranden

07/07/2019 at 04:28AM

50
###### #23 - Bruno / @ShadowDancer437

12/28/2018 at 08:02PM

50
###### #24 - Daniel Hjelm / @dhjelm

01/01/2019 at 02:14AM

50
###### #25 - Christoph / @Christo41827663

03/27/2021 at 04:51PM

51
###### #26 - Ivo Blöchliger / @aigledesalpes

08/17/2019 at 11:07AM

52
###### #27 - churaki / @churaki

01/30/2019 at 11:45AM

53
###### #28 - wes / @_weslly

01/01/2019 at 07:40AM

53
###### #29 - JT-Development.com / @JT_Development

03/04/2019 at 07:58AM

54
###### #30 - Nate / @natedoran

01/01/2019 at 06:47AM