In this section, we'll discuss: - for loops -- iterating over strings - how does a "for" loop really work? - what about the indexes? - the "enumerate" function - break and continue - the "else" clause in Python loops - iterating a number of times with "range" - iterable vs. non-iterable objects - "while" loops - "for" vs "while" -- when to use each
Tuples are perhaps the most mysterious data structures in Python, because people don't understand why they exist or when they should be used. In this section, we'll introduce tuples and give you insights into when and how to use them.