20190616 - enumerate usage

. 1 Li = [11,22,33 ]
 2  for PP, OO in the enumerate (Li, 8 ):
 . 3      #   the enumerate the list "li" elements are added in the sequence number, the sequence number from 8 8 represents the start; "pp, oo "is a variable character, customizable (li corresponding to the list of elements in an empty room pp, oo in) 
. 4      Print (pp, oo) 

" "" "

8 11
9 22
10 33

 

Guess you like

Origin www.cnblogs.com/yssshiny/p/11032946.html