Skip to content

Add hollow_diamond_alphabet function for printing alphabet diamond patterns. #12116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2024
commit 759ab7d3426a34cfa6bd849e4a9e983e91be0f76
4 changes: 1 addition & 3 deletions strings/hollow_diamond_alphabet.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ def main():
while True:
size = get_valid_input()
if size is None:
print(
"Thank you!"
)
print("Thank you!")
break

if hollow_diamond_alphabet(size):
Expand Down