With linq I would var top5 = array.Take(5); How to do this with Python? 8 Answers 8 Tags: generatorlistpython