Today, I have completed another lesson of python at
codeacademy. This lesson was about
Lists and Functions . So I am sharing the the full solution here. Feel free to check and let me know if we could make the code better :)
Welcome to Battleship!
In this project you will build a simplified, one-player
version of the classic board game Battleship! In this version of the
game, there will be a single ship hidden in a random location on a 5x5
grid. The player will have 10 guesses to try to sink the ship.