How to take the first N items from a generator or list?
With
linq
I would
var top5 = array.Take(5);
How to do this with Python?
← Назад к списку