How to draw a brick wall in a for loop in Python
📁 Advanced Python Topics, AI
There is a library simple_draw for drawing simple graphic primitives. I can't figure out how to draw a loop of vertical lines, or rather, I end up with one line per row with an offset.
width = 100height = 50x = 0y = 0x_1 = 100y_1 = 50rows = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)x0 = 0y0 =
import rere.findall('(\\d+)', '2BNKLOPY5T') Log in to leave an answer