Y
Hacker News
new
|
ask
|
show
|
jobs
by
divbzero
2956 days ago
Combining ideas from parent and grandparent:
sum(planet.get('moons', 0) for planet in target['system']['planets'])