# Prints a 3-by-3 grid of bricks with loops for i in range(3): for j in range(3): print("#", end="") print()