# Write a program that asks for an integer n, which # can be assumed to be no smaller than 3, and draws a # square of asterisks with side length n # For ex if n is 3, the square should look like: # *** # * * # *** # If n is 8, # the square should look like: # ******** # * * # * * # * * # * * # * * # * * # ******** n = int(raw_input("What is the length of a side? ")) print '*' * n # draw top for i in range(n-2): print '*' + ' ' * (n-2) + '*' print '*' * n # draw bottom