26 May
2022
26 May
'22
3:42 a.m.
class grid: def __init__(self, width = 7, height = 4): self.spots = [bytearray(width) for x in range(height)] canvas = grid(7, 4) canvas.spots[0][3] = 1 canvas.spots[1][2] = 1; canvas.spots[1][4] = 1 canvas.spots[2][1] = 1; canvas.spots[2][5] = 1 (canvas.spots[3][x] = 1 for x in range(7))