TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Simple example using python's map() and reduce()

2 pointsby code_devilover 13 years ago

1 comment

ecounysisover 13 years ago
<p><pre><code> reduce(lambda x,y:x+y, map(lambda x:x*x, range(1,6)))</code></pre>
评论 #3521411 未加载