figure - shows what the output will look like when you run hexgrid py figure - output showing tessellated image of hexagonal grid how it works the power behind programming is that it can make computer carry out repetitive instructions quickly and without mistakes this is how dozen lines of code can create hundredsthousandsor millions of hexagons on the screen in the command prompt or terminal windowyou can redirect program' output from the screen to text file on windowsrun py hexgrid py hextiles txt to create text file that contains the hexagons on linux and macosrun python hexgrid py hextiles txt without the size of the screen as limityou can increase the x_repeat and y_repeat constants and save the contents to file from thereit' easy to print the file on papersend it in an emailor post it to social media this applies to any computer-generated artwork you create """hex gridby al sweigart al@inventwithpython com displays simple tessellation of hexagon grid view this code at tagstinybeginnerartistic"" set up the constants (!try changing these values to other numbers x_repeat how many times to tessellate horizontally y_repeat how many times to tessellate vertically hex grid