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

Update the summation of reduce(lambda x, y: x + y) #4

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

philipai
Copy link

The output is 0, instead of 6. It seems that the list of elements is 1+2+(-3) = 0???

The output is 0, instead of 6. It looks like the list of elements is 1+2+(-3) = 0
@trajanov trajanov merged commit 9974b69 into trajanov:master Oct 14, 2024
@philipai philipai deleted the patch-3 branch October 14, 2024 06:44
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.

2 participants