number = int(input("Enter a number for amount of rows in your square: ")) for i in range(1, number+1 ): print('* ' * number)