Slashdot Mirror


User: sblack

sblack's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. The real way to get some head and tail on Python 2.3 Final Released · · Score: 2, Informative

    Not to nitpick but the correct way to reference the head and tail of a list in Python is as follows: head = list[0] tail = list[-1] Please don't defile this beautiful language by posting incorrect code snippets.