Shopify Interview Question

Print certain geometrical shapes on the screen.