Files
python/reference/concepts/iterables.md
Erik Schierboom 549b2d086f Format using Prettier
[Docs] Format using Prettier
2021-01-29 11:14:36 -05:00

653 B

Iterable

TODO: ADD MORE

  • strings are iterable, which provides a lot of opportunity to leverage Python functions against them hamming
  • understanding that strings, lists, and other data structures can be iterated over in the same fashion matrix
  • characters in a string are iterables and are subject to index and slice access as described below phone-number
  • The example solution uses the for _ in _ syntax to iterate over a list of lines. This is possible because a list is an iterable. markdown