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

Section 6.3, “Iterating with for Loops” - Dive Into Python

Example 6.8. Introducing the for Loop. >>> li = ['a', 'b', 'e'] >>> for s in li: 1 ... print s 2 a b e >>> print ...

www.diveintopython.net

網址安全性掃描由 google 提供