def make_boolean_square_board(n):
"""
Makes a 2D board of a desired size filled with False as default value.
Args:
n (int): size of the board.
Returns:
list[list[bool]]: board of desired size.
"""
board = []
# TODO: Make the empty board. Hint (approx 5 lines):
# Do n times:
# Make a new empty list x
# Do n times:
# Add False to the list
# Add x to board
return board
-
Adam Blank authored562747ea