Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 653 Bytes

iterables.md

File metadata and controls

8 lines (6 loc) · 653 Bytes

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