### 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 by @majo_senf:

Unlock 10 remaining solutions by signing in and submitting your own entry

## 45 active golfers, 148 entries

##### Solutions by @majo_senf:
31
###### #5 - majo senf / @majo_senf

06/21/2019 at 11:42AM

33
###### #>13 - majo senf / @majo_senf

06/21/2019 at 11:41AM

34
###### #>17 - majo senf / @majo_senf

06/21/2019 at 11:40AM

40
###### #>21 - majo senf / @majo_senf

06/21/2019 at 11:38AM

41
###### #>22 - majo senf / @majo_senf

06/21/2019 at 11:37AM

43
###### #>22 - majo senf / @majo_senf

06/21/2019 at 11:36AM

50
###### #>25 - majo senf / @majo_senf

06/21/2019 at 11:34AM

52
###### #>28 - majo senf / @majo_senf

06/21/2019 at 11:31AM

54
###### #>33 - majo senf / @majo_senf

06/21/2019 at 11:25AM

83
###### #>41 - majo senf / @majo_senf

06/21/2019 at 11:24AM