Browse Source

Combining lists.

master
Josh Mudge 5 years ago
parent
commit
7868873744
  1. 2
      Codecademy.md

2
Codecademy.md

@ -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…
Cancel
Save