Skip to content
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

Feature : Printing patterns Using a Single Loop #57

Merged
merged 1 commit into from
Aug 26, 2023

Conversation

Sahilkumar19
Copy link
Contributor

this PR fixes #52
I've optimized the code for printing a specific pattern that originally required nested for loops. With this improvement, the pattern is achieved using just a single for loop, resulting in a more concise and efficient implementation.For a general pattern like this put the code snippet inside a method.

@HarryDulaney
Copy link
Owner

@Sahilkumar19 I'm accepting this one thank you

Copy link
Owner

@HarryDulaney HarryDulaney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it

@HarryDulaney HarryDulaney merged commit 450a931 into HarryDulaney:master Aug 26, 2023
@Sahilkumar19
Copy link
Contributor Author

I like it

thanks for your appreciation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change in existing solution of Exercise01_04 of ch_01
2 participants