: A new chapter covering advanced features like list comprehensions , sets, and namedtuples .

The second edition specifically modernizes the text and removes common hurdles for absolute beginners:

: To help beginners avoid setup frustration, it provides instructions for running code directly in a web browser using PythonAnywhere .

: All code and examples have been fully updated to Python 3 .