Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Breaking/Splitting the list with certain number of elements

$
0
0
Hi
I am looking for something opposite to the function of append.I want to break a very big list into smaller lists of elements.For example say i have 103 elements in a list and i want to break the list into sublists such that each list consists of 20 elements.I should get an output in return with 5 sublists of 20 elements each and a 6th sublist of 3 elements.Is there any direct function available for use?


   

Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>