## 7. Beepers

In this lesson, we will learn about the all important beepers!

### Beep! Beep!

Reeborg's world includes beepers. These are small objects (drawn fairly big on the screen) that make a small beeping sound when they are turned on. Reeborg can only hear beepers if he is standing right on top of them, on the same corner. He can pick them up and carry them (turned off) in his pockets, or he can put them down (turning them on automatically).

You can instruct Reeborg to pick up beepers, through the `pick_beeper()` command, or to put some down, through the `put_beeper()` command. If you ask Reeborg to pick up beepers where there are none, or to put down beepers if he doesn't carry any, he will complain and shut down.

### Your turn

Open up the world file beepers1.wld, which should look like the picture below on the left. You open a world file by clicking on the button. Write a program that will have Reeborg pick up the beeper, and put it down after carrying it as illustrated.

### Changing beepers

You can easily change Reeborg's world by adding beepers. To do so, you just "right-click" on any intersection and select the number of beepers from 0 (used to remove any beepers present), 1, 2, 3, ..., 14, 15, 20, 40, 60, 80 or 99.

### Your turn

Open up the world file beepers1.wld, and increase the number of beepers at the corner of the third avenue and first street from 1 to 5. Save this world file under the name beepers2.wld by clicking on the button. Write a program that will have Reeborg pick up all the beepers and then take one step away.

Making a left turn - - Darn bugs!