#compsci #python 
## Adding and deleting an item
To add an object, type:
```python
L.append('something')
```
You *can't just assign a non-existent part of a list a numerical value*, like this:
```python
L[99]=1
# An error would be thrown
```
So instead use **append()**.

To delete an object, type:
```python
L.pop(position)
```

## Sorting
To sort a a list in ascending fashion:
```python
M=['bb','aa','cc']
M.sort()
# M = ['aa','bb','cc']
```
To reverse a list, type:
```python
M = ['aa','bb','cc']
M.reverse()
# M = ['cc','bb','aa']
```