Synoriq Interview Question

Write a code to Make a square pattern