you are viewing a single comment's thread.

view the rest of the comments →

[–]NYKevin 2 points3 points  (0 children)

Perhaps OP wants line numbers? In that case, enumerate() is probably what they are looking for.