understand lambda usage in given python code,lambda i: i[0]