The Python Workbook
A Brief Introduction with Exercises and Solutions
This book is designed to support and encourage hands-on learning about
programming. It contains 186 exercises, spanning a variety of academic
disciplines and everyday situations, which you can solve using only the
material covered in most introductory Python programming courses.
Completing these exercises will help you learn about Python and improve
your programming abilities.
Several data sets are needed to complete the exercises in Chapter 7. Links
to the need files follow:
- elements.txt -- A list of chemical elements that includes each element's atomic number, symbol and name.
- words.txt -- A list of over 200,000 English words.
- A list of 10,000 English words -- This is an external link to MIT. This file may work better than words.txt because it is smaller and includes fewer esoteric words.
- baby_names.zip -- A collection of files containing the 100 most commonly used names for boys and girls from 1900 to 2012.