Python Base
Iterable
Are iterable : List, Dictionaries, Tuple, Set and Strings When using a dictionnary, there are several ways to iterate through the keys and values :
|
|
Loop
The equivalent of for I=0; i<10; i++ can be obtained with the use of [range]
|
|
enumerate can be used to iterate through an iterable and returning an index.
|
|