Get Programming: Learn to Code with Python

  • 6h 45m
  • Ana Bell
  • Manning Publications
  • 2018


Get Programming: Learn to code with Python introduces you to the world of writing computer programs without drowning you in confusing jargon or theory that make getting started harder than it should be. Filled with practical examples and step-by-step lessons using the easy-on-the-brain Python language, this book will get you programming in no time!

This book works perfectly alongside our video course Get Programming with Python in Motion, available exclusively at

About the Technology

Let's face it. The only way to learn computer programming is to do it. Whether you want to skill up for your next job interview or just get a few pet projects done, programming can be an amazing tool. This book is designed especially for beginners, helping them learn to program hands on, step by step, project by project. It's time to get programming!

About the Book

Get Programming: Learn to code with Python teaches you the basics of computer programming using the Python language. In this exercise-driven book, you'll be doing something on nearly every page as you work through 38 compact lessons and 7 engaging capstone projects. By exploring the crystal-clear illustrations, exercises that check your understanding as you go, and tips for what to try next, you'll start thinking like a programmer in no time.

What's Inside

  • Programming skills you can use in any language
  • Learn to code—no experience required
  • Learn Python, the language for beginners
  • Dozens of exercises and examples help you learn by doing

About the Reader

No prior programming experience needed.

About the Author

Ana Bell is an MIT lecturer and scientist who teaches the popular course, Introduction to Computer Science and Programming Using Python.

In this Book

  • About This Book
  • Why Should You Learn How to Program?
  • Basic Principles of Learning a Programming Language
  • Introducing Python—A Programming Language
  • Variables and Expressions—Giving Names and Values to Things
  • Object Types and Statements of Code
  • Capstone Project—Your First Python Program—Convert Hours to Minutes
  • Introducing String Objects—Sequences of Characters
  • Advanced String Operations
  • Simple Error Messages
  • Tuple Objects—Sequences of Any Kind of Object
  • Interacting with the User
  • Capstone Project—Name Mashup
  • Introducing Decisions in Programs
  • Making More-Complicated Decisions
  • Capstone Project—Choose Your Own Adventure
  • Repeating Tasks with Loops
  • Customizing Loops
  • Repeating Tasks While Conditions Hold
  • Capstone Project—Scrabble, Art Edition
  • Building Programs to Last
  • Achieving Modularity and Abstraction with Functions
  • Advanced Operations with Functions
  • Capstone Project—Analyze Your Friends
  • Mutable and Immutable Objects
  • Working with Lists
  • Advanced Operations with Lists
  • Dictionaries as Maps between Objects
  • Aliasing and Copying Lists and Dictionaries
  • Capstone Project—Document Similarity
  • Making Your Own Object Types
  • Creating a Class for an Object Type
  • Working with Your Own Object Types
  • Customizing Classes
  • Capstone Project—Card Game
  • Useful Libraries
  • Testing and Debugging Your Programs
  • A Library for Graphical User Interfaces
  • Capstone Project—Game of Tag
  • Thinking like a Programmer—Big Ideas