update insertion_sort

This commit is contained in:
Rohit Tanwar
2018-02-20 17:08:10 +05:30
parent 9e7878b00d
commit 7cc78ca4c4
28 changed files with 1252 additions and 1222 deletions

View File

@ -1,14 +1,14 @@
### capitalize_every_word
Capitalizes the first letter of every word in a string.
Uses `str.title` to capitalize first letter of evry word in the string.
```python
def capitalize_every_word(string):
return string.title()
```
```python
capitalize_every_word('hello world!') # 'Hello World!'
### capitalize_every_word
Capitalizes the first letter of every word in a string.
Uses `str.title` to capitalize first letter of evry word in the string.
```python
def capitalize_every_word(string):
return string.title()
```
```python
capitalize_every_word('hello world!') # 'Hello World!'
```