Free Programming with Python (Think Python) study guide

This free Programming with Python (Think Python) study guide has 20 topics, 212 flashcards and 70 practice questions, starting with Preface, Programming as a way of thinking and Variables and Statements. It suits college students taking an introductory course and is built from the open textbook “Think Python, 3rd edition” by Allen B. Downey (CC BY-NC-SA 4.0). It is free to use, and the study aids are generated automatically, so check important facts against your own textbook.

Study this course free

What you will study

20 topics, in the order of the textbook. Your own course may order them differently, so follow your syllabus.

Chapter 1: Preface

Chapter 2: Programming as a way of thinking

The first goal of this book is to teach you how to program in Python. But learning to program means learning a new way to think, so the second goal of this book is to help you think like a computer scientist.

Chapter 3: Variables and Statements

Chapter 4: Functions

Chapter 5: Functions and Interfaces

Chapter 6: Conditionals and Recursion

Chapter 7: Return Values

Chapter 8: Iteration and Search

Chapter 9: Strings and Regular Expressions

Chapter 10: Lists

Chapter 11: Dictionaries

Chapter 12: Tuples

Chapter 13: Text Analysis and Generation

Chapter 14: Files and Databases

Chapter 15: Classes and Functions

The next step is object-oriented programming, which uses programmer-defined types to organize both code and data. In the next two chapters, we will use additional features to write more idiomatic code.

Chapter 16: Classes and Methods

Chapter 17: Classes and Objects

Chapter 18: Inheritance

Chapter 19: Python Extras

Chapter 20: Final thoughts

Try some

Real flashcards and practice questions from this study guide, with their answers.

Flashcard 1

In your own words: what does “arithmetic operator” mean?

Answer: An arithmetic operator is a symbol that represents an arithmetic computation.

Flashcard 2

In your own words: what does “increment” mean?

Answer: Increasing the value of a variable is called an increment; decreasing the value is called a decrement.

Flashcard 3

In your own words: what does “delegation” mean?

Answer: Passing along responsibility like this is called delegation.

Practice question 1

Fill in the blank: An _____ is a symbol that represents an arithmetic computation.

  • A. Floating-point
  • B. Formal language
  • C. Arithmetic operator
  • D. Natural language

Answer: C. Arithmetic operator

An arithmetic operator is a symbol that represents an arithmetic computation.

Practice question 2

Fill in the blank: Passing along responsibility like this is called _____.

  • A. Delegation
  • B. Specialization
  • C. Encode
  • D. Class variables

Answer: A. Delegation

Passing along responsibility like this is called delegation.

Study this course free

Prerequisites and next steps

More in Computer science

About this study pack

Attribution: Adapted from “Think Python, 3rd edition” by Allen B. Downey (https://allendowney.github.io/ThinkPython/), CC BY-NC-SA 4.0. Study aids (flashcards, quiz questions, summaries) were generated automatically from the text; they may contain errors.

Frequently asked questions

Is the Programming with Python (Think Python) study guide free?

Yes. StudyGrasp is always free: no paywall and no credit card. Students create a free account so that their progress is saved.

What textbook is the Programming with Python (Think Python) study guide based on?

It is built from “Think Python, 3rd edition” by Allen B. Downey, an open textbook licensed under CC BY-NC-SA 4.0. StudyGrasp adapted it and is not affiliated with its authors or publisher.

How many practice questions does it have?

It has 70 practice questions and 212 flashcards across 20 topics. They are generated automatically from the textbook and marked Draft, so they can contain mistakes.

Can I use it offline or install it?

You can add StudyGrasp to your phone or computer. The app opens offline, and flashcards you have opened keep working without a connection. Offline copies are cleared when you sign out.

Study Programming with Python (Think Python) free

Ask questions that cite the textbook, practise with flashcards and quizzes, and keep your own notes private. Study this course free

StudyGrasp is not affiliated with the textbook publishers named here. Browse all courses · FAQ