Answer the question
In order to leave comments, you need to log in
Why is the code not displayed in the console?
board = range(1,10)
def draw_board(board):
print ("-------------")
for i in range(3):
print ("|", board[0+i*3], "|", board[1+i*3], "|", board[2+i*3], "|")
print ("-------------")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question