Combining lists.

This commit is contained in:
Josh Mudge 2019-01-12 18:34:34 -07:00
parent 5898682bae
commit 7868873744
1 changed files with 2 additions and 0 deletions

View File

@ -280,6 +280,8 @@ orders = ['daisies', 'periwinkle']
orders.append('tulips')
```
You can add lists like this: `['list1', 'stuff'] + ['list2', 'stuff']` but need to use `lst1 + lst2` and not `[lst1] + [lst2]`
## Ranges
You can get a range of numbers using `range()`