2

Working with Expressions

It is the supreme art of the teacher to awaken joy in creative expression and knowledge.

—Albert Einstein

At one level, a programming language is a super-calculator with the ability to work with data. You can do arithmetic with numbers or manipulate text represented as strings. More than that, a language allows you to create functions that perform custom operations and even to create new structures for data.

In this chapter, we introduce the basics of Python and how it implements the programming features described in Chapter 1, Doing the Things That Coders Do. In subsequent chapters, we go into greater detail and expand upon these ideas.

Via a search of the web, I saw an estimate that Python is known and used by ...

Get Dancing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.