Welcome to level 3
### Welcome to level 3 By the end of this lesson, you can: * Save multiple items in a variable, this is called a list. * Create a story in which random things will happen. * Create a drawing in which random thing will be drawn.
Making a list
### Making a list You make a list with `is`. Separate the items on your list with a comma.
At random
### At random You can use the list with the `at` `random` keyword. The computer will randomly pick one item of the list. Every time you run this code the output will differ.
At random in a sentence
### At random in a sentence You can use the `at` `random` keyword in a sentence as well.
Let's get started!
### Let's get started! Let's get started with the adventures!
Add to
### Add to You can add items to a list with the `add` `to` keyword.
Add to
### Add to You can choose what to add to the list or you can use the `add` `to` keyword in combination with the `ask` keyword. This way you can let the player decide what to add to the list to make the program interactive.
Remove from
### Remove from The opposite of the `add` `to` keyword is the `remove` `from` keyword. This keyword removes an item from a list.
Debugging
### Debugging Let's debug this code!
Let's get to work!
### Let's get to work! Enjoy the adventures in level 3!
Let's review!
### Let's review! What did you learn today?
Let's review!
### Let's review! Which adventure did you like best? Why? Which adventure did you like least? Why?
Show and tell!
### Show and tell! Would anyone like to show the class a program they've made?
Sneak peek into the next level...
### Sneak peek into the next level... In the next level you'll learn how to use quotation marks! One step closer to real python code!