Skip to content

gh-97709: Changed reduce to join in mandelbrot one liner, also included newline character #97713

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 1 commit into from

Conversation

matheusja
Copy link
Contributor

@matheusja matheusja commented Oct 2, 2022

The code uses join method, instead of using reduce from functools and string concatenation.
The code also explicitly prints a newline character between each line instead of relying on line wrapping to separate the lines.
Also, since the code is now modified, it's not the one "due to Ulf Bartelt", but "adapted from Ult Bartelt".

@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 2, 2022
@ghost
Copy link

ghost commented Oct 2, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@matheusja
Copy link
Contributor Author

Attending @serhiy-storchaka's comment. I have made another pull request, keeping the use of reduce instead join, but still separating lines. I will close this one.

@matheusja matheusja closed this Oct 2, 2022
@matheusja matheusja deleted the patch-1 branch October 2, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants