Python - Differences between elements of a list

Posted by psihodelia on Stack Overflow See other posts from Stack Overflow or by psihodelia
Published on 2010-03-08T11:16:11Z Indexed on 2010/03/08 11:21 UTC
Read the original article Hit count: 223

Filed under:
|

Given a list of numbers how to find differences between every (i)-th and (i+1)-th of its elements? Should one better use lambda or maybe lists comprehension?

© Stack Overflow or respective owner

Related posts about python

Related posts about list