Untitled
unknown
plain_text
a year ago
760 B
1
Indexable
Never
def starting_bord(): board_size = 8 board = [["🙾" for i in range(board_size)] for j in range(board_size)] board[0][0] = "♖" board[0][1] = "♘" board[0][2] = "♗" board[0][3] = "♕" board[0][4] = "♔" board[0][5] = "♗" board[0][6] = "♘" board[0][7] = "♖" for i in range(board_size): board[1][i] = "♙" board[6][i] = "♟" board[7][0] = "♜" board[7][1] = "♞" board[7][2] = "♝" board[7][3] = "♛" board[7][4] = "♚" board[7][5] = "♝" board[7][6] = "♞" board[7][7] = "♜" for i in range(board_size): for j in range(board_size): print(board[i][j], end=" ") print() starting_bord()