Skip to content

Instantly share code, notes, and snippets.

Arhirhani tinskanix

  • AR
View GitHub Profile
View battleship.py
#Battleship program from Codecademy
from random import randint
board = []
for x in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
You can’t perform that action at this time.