Here’s the exercise:

Create a function called `append_size`

that has one parameter named `lst`

.

The function should add all of the numbers between `1`

and the size of `lst`

(inclusive) to the end of `lst`

. The function should then return this new list.

For example, if `lst`

was `[23, 42, 108]`

, the function should return `[23, 42, 108, 1, 2, 3]`

because the size of `lst`

was originally `3`

.

Here was the solution - really not sure what or where the list(range…) came from. I don’t remember ever seeing ‘list’ in any of the steps leading up to this

```
def append_size(lst):
to_append = list(range(1, len(lst)+1))
lst = lst + to_append
return lst
```