, ®
Python Programming
for the Absolute Beginner,
Third Edition
Michael Dawson
Course Technology PTR
A part of Cengage Learning
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
, Python® Programming for the © 2010 Course Technology, a part of Cengage Learning.
Absolute Beginner, Third Edition:
ALL RIGHTS RESERVED. No part of this work covered by the copyright
Michael Dawson
herein may be reproduced, transmitted, stored, or used in any form or by
Publisher and General Manager, Course any means graphic, electronic, or mechanical, including but not limited to
Technology PTR: Stacy L. Hiquet photocopying, recording, scanning, digitizing, taping, Web distribution,
information networks, or information storage and retrieval systems, except
Associate Director of Marketing:
as permitted under Section 107 or 108 of the 1976 United States Copyright
Sarah Panella
Act, without the prior written permission of the publisher.
Manager of Editorial Services:
Heather Talbot
For product information and technology assistance, contact us at
Marketing Manager: Mark Hughes Cengage Learning Customer & Sales Support, 1-800-354-9706
Acquisitions Editor: Mitzi Koontz For permission to use material from this text or product, submit all
requests online at cengage.com/permissions Further permissions
Project Editor: Jenny Davidson questions can be emailed to
Technical Reviewer: Robert Hoag
Interior Layout Tech: Value Chain Python is a registered trademark of the Python Software Foundation.
International All other trademarks are the property of their respective owners.
Cover Designer: Mike Tanamachi All images © Cengage Learning unless otherwise noted.
Indexer: BIM Indexing & Proofreading Library of Congress Control Number: 2009933304
Services
ISBN-13: 978-1-4354-5500-9
Proofreader: Heather Urschel ISBN-10: 1-4354-5500-2
eISBN-10: 1-4354-5601-7
Course Technology, a part of Cengage Learning
20 Channel Center Street
Boston, MA 02210
USA
Cengage Learning is a leading provider of customized learning solutions
with office locations around the globe, including Singapore, the United
Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local office at:
international.cengage.com/region
Cengage Learning products are represented in Canada by Nelson
Education, Ltd.
For your lifelong learning solutions, visit courseptr.com
Visit our corporate website at cengage.com
Printed in the United States of America
1 2 3 4 5 6 7 11 10 09
, To my parents, who have read everything I’ve ever written.
Python Programming
for the Absolute Beginner,
Third Edition
Michael Dawson
Course Technology PTR
A part of Cengage Learning
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
, Python® Programming for the © 2010 Course Technology, a part of Cengage Learning.
Absolute Beginner, Third Edition:
ALL RIGHTS RESERVED. No part of this work covered by the copyright
Michael Dawson
herein may be reproduced, transmitted, stored, or used in any form or by
Publisher and General Manager, Course any means graphic, electronic, or mechanical, including but not limited to
Technology PTR: Stacy L. Hiquet photocopying, recording, scanning, digitizing, taping, Web distribution,
information networks, or information storage and retrieval systems, except
Associate Director of Marketing:
as permitted under Section 107 or 108 of the 1976 United States Copyright
Sarah Panella
Act, without the prior written permission of the publisher.
Manager of Editorial Services:
Heather Talbot
For product information and technology assistance, contact us at
Marketing Manager: Mark Hughes Cengage Learning Customer & Sales Support, 1-800-354-9706
Acquisitions Editor: Mitzi Koontz For permission to use material from this text or product, submit all
requests online at cengage.com/permissions Further permissions
Project Editor: Jenny Davidson questions can be emailed to
Technical Reviewer: Robert Hoag
Interior Layout Tech: Value Chain Python is a registered trademark of the Python Software Foundation.
International All other trademarks are the property of their respective owners.
Cover Designer: Mike Tanamachi All images © Cengage Learning unless otherwise noted.
Indexer: BIM Indexing & Proofreading Library of Congress Control Number: 2009933304
Services
ISBN-13: 978-1-4354-5500-9
Proofreader: Heather Urschel ISBN-10: 1-4354-5500-2
eISBN-10: 1-4354-5601-7
Course Technology, a part of Cengage Learning
20 Channel Center Street
Boston, MA 02210
USA
Cengage Learning is a leading provider of customized learning solutions
with office locations around the globe, including Singapore, the United
Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local office at:
international.cengage.com/region
Cengage Learning products are represented in Canada by Nelson
Education, Ltd.
For your lifelong learning solutions, visit courseptr.com
Visit our corporate website at cengage.com
Printed in the United States of America
1 2 3 4 5 6 7 11 10 09
, To my parents, who have read everything I’ve ever written.