Battleship

This assignment consists of us learning more about lists and functions. This assignment is called battleship because once we had done with the code we can play it as well. To begin we had to follow the instructions that was provided to us in order for us to create the code. The first thing we had  to do was to create a function and define it with the given argument. Soon we were to provide the code with statements like for__ in range and if or else. Later we had to create a loop so that we can continue to play. Once we completed the code we were able to play battleship as if it was the real game. After we play with the code we had to break it. Then the game will be over.

b-s-pic2b-s-pic3b-s-pic4b-s-pic5b-s-pic-6b-s-pic7b-s-pic8b-s-pic9b-s-pic10