Think Python: How to Think like a Computer Scientist

Allen Downey's How to Think Like a Computer Scientist text in Python with additional lab content

Think Python: How to Think like a Computer Scientist


  1. Python Basics
  2. Conditionals
  3. Iteration
  4. Functions
  5. Strings
  6. Lists and Arrays
  7. Dictionaries and Tuples
  8. Files
  9. Classes and Objects
  10. Class Functions and Class Methods
  11. Inheritance
  12. Debugging, Algorithms and Other Goodies



Interested in evaluating Think Python: How to Think like a Computer Scientist for your class? Sign up for a Free Instructor Account to access and customize this Codio Resource for free!

Make your Python learning experience even more hands-on—mix-and-match Think Python with Codio’s CS: Introduction in Python, interactive courseware with minimal text, visualizations, integrated auto-graded assessments, and instant student feedback.

Auto-Graded Labs

Think Python: How to Think Like a Computer Scientist includes recommended supplemental videos along with auto-graded labs. After working through the book, students have the opportunity to see the same information presented in another way and get instant feedback on their level of understanding!

Book Description

"If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for Python 3. Through exercises in each chapter, you’ll try out programming concepts as you learn them. Think Python is ideal for students at the high school or college level, as well as self-learners, home-schooled students, and professionals who need to learn programming basics. Beginners just getting their feet wet will learn how to start with Python in a browser.
  • Start with the basics, including language syntax and semantics
  • Get a clear definition of each programming concept
  • Learn about values, variables, statements, functions, and data structures in a logical progression
  • Discover how to work with files and databases
  • Understand objects, methods, and object-oriented programming
  • Use debugging techniques to fix syntax, runtime, and semantic errors
  • Explore interface design, data structures, and GUI-based programs through case studies"

— Amazon

Learn by Doing Approach

Follow along with the text examples with Codio's fully featured in-browser IDE. With syntax highlighting, built-in debugger, terminal access, and the ability to run code with a click of the button, students will be using professional-grade tools as they build their skills.

Take a peek inside...

  • Allen Downey's renowned text
  • IDE next to text to follow along
  • Run code with the push of a button
  • Additional labs with auto-grading

Ready To Get Started?

Try our code plagiarism checker with a free Codio Instructor Account to start taking advantage of our coding course resources!!