Speed list from time/positive lists? /u/Admirable_Duckwalk Python Education

Let’s say you have a time list [1,2,3,4,5], and a position list [2,3,5,4,4].

How would you the make a speed list?

I am struggling with the take out of lists to calculate. Manual way would be take element 2 – element 1 from both lists and divide, but if the lists would be 1000s of elements long it wouldn’t be realistic to do so.

Thanks for any help

submitted by /u/Admirable_Duckwalk
[link] [comments]

​r/learnpython Let’s say you have a time list [1,2,3,4,5], and a position list [2,3,5,4,4]. How would you the make a speed list? I am struggling with the take out of lists to calculate. Manual way would be take element 2 – element 1 from both lists and divide, but if the lists would be 1000s of elements long it wouldn’t be realistic to do so. Thanks for any help submitted by /u/Admirable_Duckwalk [link] [comments] 

Let’s say you have a time list [1,2,3,4,5], and a position list [2,3,5,4,4].

How would you the make a speed list?

I am struggling with the take out of lists to calculate. Manual way would be take element 2 – element 1 from both lists and divide, but if the lists would be 1000s of elements long it wouldn’t be realistic to do so.

Thanks for any help

submitted by /u/Admirable_Duckwalk
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *