> which can be simplified to:
> for x in range(len(L)//2 + len(L)%2):

for x in range(sum(divmod(len(L), 2))): ...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to