size = int(input("Enter the size of the square: ")) for _ in range(size): print("*" * size)