DEV Community

loading...

Discussion on: Daily Challenge #225 - Square'n'Sum

Collapse
pavi2410 profile image
Pavitra Golchha

Python

squareSum = lambda arr: sum([n ** 2 for n in arr])