I'm new to Python, I have a list that consists of a lot of numbers like:
list=[1,2,3,4,5,6,7,...]
I need to divide it into three parts, to make the first part contain the earliest 1/3 numbers, and the second part contain the second 1/3 numbers, and the last part consist of the last 1/3 numbers, for example:
part1=[1,2,3,4..."the len(list)/3 th number"],
part2=[" the len(list)/3+1 th number, ... ,
2*len(list)/3 th number]
Could you help me figure out how to do it?