problem about list indexing

hollowspook hollowspook at gmail.com
Sun Nov 26 03:25:13 EST 2006


Hi, there

a = range(100)

if I want to use No 7, 11, 56,90 in a, then the only way I do is [a[7],
a[11], a[56], a[90]]. 
Is there any other way?

Thanks in advance.




More information about the Python-list mailing list