Combining lists.
This commit is contained in:
parent
5898682bae
commit
7868873744
|
@ -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()`
|
||||
|
|
Loading…
Reference in New Issue