Python Morsels strict_zip exercise: Like zip, but raises an error for iterables of different lengths| www.pythonmorsels.com
Python Morsels with_previous exercise: Looping helper to get each iterable item along with the previous item| www.pythonmorsels.com
Python Morsels my_builtins exercise: Re-implement some built-in functions to learn how they work| www.pythonmorsels.com
Sign up for Python Morsels to improve your Python skills in just 60 minutes every week.| www.pythonmorsels.com
Sign in to your Python Morsels account.| www.pythonmorsels.com
Instead of using hard-coded indices to get tuple elements, use tuple unpacking to give descriptive names to each item. Important items should have a name instead of a number.| www.pythonmorsels.com
Sequences are iterables that have a length. Sequences are ordered collections (they maintain the order of their contents). The most common sequences built-in to Python are string, tuple, and list.| www.pythonmorsels.com
Python Morsels head exercise: Get the first N items from any iterable| www.pythonmorsels.com
Python Morsels transpose exercise: Transpose a given list-of-lists| www.pythonmorsels.com
Python's built-in enumerate function is the preferred way to loop while counting upward at the same time. You'll almost always see tuple unpacking used whenever enumerate is used.| www.pythonmorsels.com
Python's built-in functions list includes 71 functions now! Which built-in functions are worth knowing about? And which functions should you learn later?| www.pythonmorsels.com
Unlike traditional C-style for loops, Python's for loops don't have indexes. It's considered a best practice to avoid reaching for indexes unless you really need them.| www.pythonmorsels.com
An iterable is anything you're able to iterate over (iter-able). Iterables can be looped over and anything you can loop over is an iterable. Not every iterable is indexable or has a length.| www.pythonmorsels.com