Skip to content

Instantly share code, notes, and snippets.

View byomkesh99's full-sized avatar
🙏

Byomkesh Das byomkesh99

🙏
View GitHub Profile
@byomkesh99
byomkesh99 / battleship.py
Created April 1, 2016 07:27
Game: Playing Battleship!
from random import randint
board = []
for x in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
print " ".join(row)