This could probably be a little cleaner, a suggestion is:
```
' '.join(value[i:i+grouping] for i in range(0, len(value), grouping))
```