Overall the exercise purpose is to practice the usage of the list, Battleship is a game where coordinates are said in order to take out your opponent which is good scenario for practice in the List usage. This is great for game design because it is the seed to different types of answers for different type of situations. upon making the list you needed to input raw inputs and many definitions within each other. Finally you were required to design the playing board itself.

so in order to face an AI you need to make sure the numbers he picks for the coordinates are random so we import random. finally we code to make sure the random row gets a random x and the col gets a random y

so once the AI has determined its column we try to find it by being able for the player to think of the numbers. so we include some raw inputs.