CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 20:43:58 GMT
server: Apache/2.4.41 (Ubuntu)
vary: Cookie,User-Agent,Accept-Encoding
set-cookie: MOIN_SESSION_443_ROOT_moin=efd4c9e3032008b356e1af8ffe92bdab5103a00c; Expires=Sat, 19-Jul-2025 21:43:00 GMT; Max-Age=3600; Secure; Path=/
content-encoding: gzip
content-type: text/html; charset=utf-8
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
UsingEnumerate - Python Wiki
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)
Unable to edit the page? See the FrontPage for instructions.