Created
July 27, 2021 11:18
-
-
Save x1001000/33a43a2947434ea316b4527a70d91e5c to your computer and use it in GitHub Desktop.
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
MID = 9 | |
for i in range(MID): | |
row = [' '] * (2 * MID + 1) | |
row[MID - i] = row[MID + i] = '*' | |
print(''.join(row)) | |
print('*' * (2 * MID + 1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment