I have a list of numbers, and for each value in the list, I need to compute something based off of that value and the previous 7 values. I'm sure there is an easy bit of code to do this, but I am just at a loss right now. For each values in the list, how can I pull out that value and the previous 7 values?
bsh6wc
0
Newbie Poster
TrustyTony
888
pyMod
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.