‹‹ All zyBooks

Programming in Python 2


  • Introduction to Python 2
  • Variables and Expressions
  • Types
  • Branching
  • Loops
  • Functions
  • Strings
  • Lists and Dictionaries
  • Classes
  • Exceptions
  • Modules
  • Files
  • Inheritance
  • Recursion
  • Plotting
Available with zyLabs


  • ~600 participation activities: Questions, animations, tools
  • ~100 auto-graded programming challenge activities using built-in programming environment
  • Configurable for high schools and non-majors

The zyBooks Approach

Provides an online introduction to both the principles and the practice of programming, using a subset of Python 2.7. This zyBook teaches programming in a unique interactive way: Animations make challenging concepts clear, learning questions engage students, tools develop intuition and skill, web-based programming windows allow practice, and web-based challenge activities allow demonstration of skill. This zyBook includes coverage of basic programming constructs (branches, loops, functions) to advanced topics such as inheritance, exceptions, and plotting.

This zyBook can also be mix-and-matched with others, such as with Data Structures Essentials (a popular combination).