Y
Hacker News
new
|
ask
|
show
|
jobs
by
lou1306
2986 days ago
Even better, replacing
for i in range(len(imgid)):
and similar lines with:
for i, img in enumerate(imgid):
would allow one to get rid of all these list accessors.