Battleship

In this LAB we have learned to use Liss and functions. I have used [] operator to access elements of a list. We use is operator to check whether two  variables refer to the same object. I used the range function and len to create my code. I used if and elif statements. Overall the lab was good although I got stuck on some parts. The lab is very sensitive in terms of  indentation and other minor things, BUt it was a great experience doing this lab.

list and functions final

battleship

battleship 2