My personal solutions to Pydles.
r = range for x in r(5): for y in r(5): f = lambda z: pydle(x, y, (x == y == 2) * "🖤", z) f("brown") if 0 < x < 4 and 0 < y < 4: f("purple") match (x, y): case (0 | 4, 0 | 1 | 4): f("white") case (1 | 3, 1) | (_, 4) | (0 | 4, _): f("blue") case (2, 0): f("orange")
i = 0 for c in "22333200033100031110331111": pydle(i % 5, i // 5, "", "yellow orange green white".split()[int(c)]) i += 1