News for hackers. Stuff that matters.
Re:Why Python Runs Slow, Part 1: Data Structures by adnam on Thursday February 13, 2014 @07:42AM (#7230960)
Would't it be more like this?

    points = [(0, 0), (3, 4), ...]
    sum_x = sum([x for x,_ in points])
    sum_y = sum([y for _,y in points])

There are no comments on this comment yet.