Continuing to prepare for the Battleship program
Classwork:
1. On a piece of paper decide in which edge you will place a 2 or 3-square ship.
2. Write a program, YI_4Edges.py to prompt the user for one of the edges locations on the 3 x 3 board and based on the user’s response write the code to find the ship and sink it.
– Use a list of three lists with 3 items each.
– Randomly select the edges where the program will place the ship.