經安全檢測,此網站為安全網站,請放心前往原始網址!

How to loop through the index of a list in python? - Stack ...

2012年9月10日 - I'm trying to write to a file, with the first line being [0] in the list, 2nd line ... use enumerate() : for ind,line in enumerate(l): print ind,line. example:

stackoverflow.com

網址安全性掃描由 google 提供