Making a List

Make a List

We are going to start working with lists! Lists are a type of data structure, a particular way of storing data. Many objects can be easily stored in a list, and so lists have become a very useful and ubiquitous data structure in computer science. For example, if we are developing a game, and we want to keep track of the people that have played our game, we might keep their names in a list.

As with anything new, the first thing to do is explore! Make a new list named players by clicking on the button Make a List , as shown below.

Below the name of your new list, you will see a group of blocks that operate on lists. Use the players list to experiment and determine what these blocks do before going on to the next step. Remember to check the box next to players to view its contents on the stage.