Python 101 : Different ways of looping over lists
The "for" loop is used to iterate over the elements an "iterable" python object, for example - string, list, tuple -.
We have below two different ways o going through a list.The "for" loop is used to iterate over the elements an "iterable" python object, for example - string, list, tuple -.
We have below two different ways o going through a list.
Comments