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

Python For Loop Tutorial - Web Development Tutorials

AllAboutMike June 8, 2014, 3:47 p.m. For loop doesn't really work like you described here. Try this: print(range(1,3)) You get: [1,2] So: for a in range(1,3): print(a) Means: for each value (we'll call it 'a') in range(1,3) (which is the list [1,2]): prin

www.afterhoursprogramming.com

網址安全性掃描由 google 提供