“91974˙CH01˙final” — 2012/12/14 13:55 — page1—#1
CHAPTER
1
Introduction
1.1 Objectives
To provide examples of computer science in the real world
To provide an overview of common problem-solving strategies
To introduce Python’s numeric data types
To show examples of simple programs
To introduce loops and simple functions
To introduce turtle graphics
1.2 What Is Computer Science?
Computers are a vital part of our lives. They help to control the planes we fly in and the
cars we drive in. They keep track of the buying and selling of stocks in financial markets
around the world. They control complex surgical machinery and the pacemakers that are
embedded ...

Get Python Programming in Context, 2nd Edition 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.