tutorial.eyehunts.com
Python first n elements of list
Use slice syntax to get the first n elements of a list in Python. Just use the slicing syntax [ ] by passing a 0:n as an argument to it.
Rohit