Question: Using Python do the following: 3. Battle Ship game modified. Given the position of ships with two box numbers top left and bottom right. The
Using Python do the following:
3. Battle Ship game modified. Given the position of ships with two box numbers top left and bottom right. The battle ship marked with x has been hit. If all the squres of ship are marked by x then it sinks. print the number of hits and number of sunk Given x - - x x Number of hits 2 and number of sunk = 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
