CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 07:11:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20110812094032
location: https://web.archive.org/web/20110812094032/https://wiki.python.org/moin/UsingEnumerate
server-timing: captures_list;dur=0.549562, exclusion.robots;dur=0.024595, exclusion.robots.policy;dur=0.014674, esindex;dur=0.010878, cdx.remote;dur=28.041732, LoadShardBlock;dur=227.672260, PetaboxLoader3.datanode;dur=146.919814, PetaboxLoader3.resolve;dur=64.376148
x-app-server: wwwb-app200
x-ts: 302
x-tr: 279
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app200; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 07:11:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 12 Aug 2011 09:40:32 GMT
x-archive-orig-server: Apache/2.2.16 (Debian)
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-set-cookie: MOIN_SESSION_80_ROOT_moin=b248b76cff3220798453ee0b8d9e3d92813e66fb; expires=Fri, 12-Aug-2011 10:40:00 GMT; Max-Age=3600; Path=/
x-archive-orig-content-length: 11288
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 12 Aug 2011 09:40:32 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 31 Dec 2005 02:34:02 GMT", ; rel="prev memento"; datetime="Sat, 08 Dec 2007 10:31:32 GMT", ; rel="memento"; datetime="Fri, 12 Aug 2011 09:40:32 GMT", ; rel="next memento"; datetime="Mon, 07 Aug 2017 11:10:32 GMT", ; rel="last memento"; datetime="Sat, 13 Jul 2024 23:11:24 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: WPO-20110812084919-crawl438/WPO-20110812093429-01715.warc.gz
server-timing: captures_list;dur=0.490378, exclusion.robots;dur=0.024208, exclusion.robots.policy;dur=0.014772, esindex;dur=0.010416, cdx.remote;dur=25.064812, LoadShardBlock;dur=429.134703, PetaboxLoader3.datanode;dur=347.681948, PetaboxLoader3.resolve;dur=144.762277, load_resource;dur=99.632505
x-app-server: wwwb-app200
x-ts: 200
x-tr: 598
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
UsingEnumerate - PythonInfo Wiki
User
enumerate is easy to use:
...which prints out:
#0: h #1: e #2: l #3: l #4: o
You can use it on just about any iterable sequence.
UsingEnumerate (last edited 2008-11-15 13:59:44 by localhost)