Learn to pad a string symmetrically with spaces to a given width.
Constraints
Example
```python
>>> center_string('hello', 11)
' hello '
>>> center_string('hello', 10)
' hello '
>>> center_string('hello', 5)
'hello'
>>> center_string('', 4)
' '
```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints