Created
October 26, 2015 15:27
-
-
Save popey456963/eafe7f34bacc02fa3961 to your computer and use it in GitHub Desktop.
Squares of Hashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = int(input()) | |
if n!= 1: | |
string = "" | |
for i in range(n): | |
string +="#" | |
print(string) | |
for i in range(n-2): | |
print('#'+ " "*(n-2) + "#") | |
print(string) | |
else: | |
print("#") |
developius
commented
Oct 26, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment