© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Siddharth Chandra
Senior Software Engineer
One more way is to use lazy evaluation:
map(lambda x: x*x, num))
Nishant Tiwari
Pythonista | AI Enthusiast | Freelancer | Student
yes correct 😃