2. Introduction to Python Programming

Objectives

In this chapter, you’ll:

Image Continue using IPython interactive mode to enter code snippets and see their results immediately.

Image Write simple Python statements and scripts.

Image Create variables to store data for later use.

Image Become familiar with built-in data types.

Use arithmetic operators and comparison operators, ...

Get Python for Programmers 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.