Commit b809444a authored by Mike Borowczak's avatar Mike Borowczak
Browse files

basic puzzle

parent 2b6e09a3
from microbit import *
size = 3
grid = [[4, 1, 3],
[7, 2, 6],
[0, 5, 8]]
def showGrid(grid):
for x in range(1, size + 1):
for y in range(1, size + 1):
display.set_pixel(y, x, grid[x-1][y-1])
showGrid(grid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment