""" Leen Hashim Abidi PUAD 2012 Code Toolkit: Python, Spring 2024 2/27/2024 Week 5 - 2a """ size(600,600) background(0) i = 50 #changes starting point while i <= 550:#makes more rows fill(100,210,i) rect(200,i, 20,20) # places a rectangle in y i = i + 50 #places a row of rectangles at 50, 100, 250, every 50 i = 50 while i <= 550: fill(100,20,i) rect(i,300, 20,20) i = i + 50