Ex
Exerpad
🔥0
0 XP
Lv.1 Beginner

Border Box

Create a 10x10 grid with a "gold" border (1 pixel thick) and a "purple" inside.

The border is the first row, last row, first column, and last column.

Don't change the print statements at the bottom.

python
grid = []
# Create a 10x10 grid
# Border (row 0, row 9, col 0, col 9): "gold"
# Inside: "purple"


__grid__ = grid

# Don't change below this line
print(len(grid))
print(grid[0][0])
print(grid[5][5])
print(grid[0][5])
Exerpad — Learn to Code with Fun!