Here's the function:
def get_cell(board,x,y):
pass
And here's the function that it should be incorporating:
def make_board():
"""Creates a brand new, blank board data structure. Returns the board data structure
"""
board = []
for i in range(8):
board.append([' '] * 8)
return board
What I basically want to do is insert an element somewhere in the list 'board' using the function get_cell().
However, how exactly to put that list in the Python Shell is what's puzzling me.

New Topic/Question
Reply




MultiQuote




|