So, I got this list called otherlist and I would like to add a few objects from list1. The thing is that I only got their order number, not the actual value of the numbers. For example:
otherlist.append(list1[a,a+20,a+20*2,a+20*3])
(where a is a changing number)
Yeah as you may have noticed we want ever 20th number in the list.
How to do so. I get the error message: TypeError: list indices must be integers, not tuple