Building Python Programs 1st Edition Stuart Reges download
Building Python Programs 1st Edition Stuart Reges download
https://textbookfull.com/product/building-python-programs-1st-
edition-stuart-reges/
https://textbookfull.com/product/building-java-programs-a-back-
to-basics-approach-stuart-reges/
https://textbookfull.com/product/building-java-programs-a-back-
to-basics-approach-stuart-reges-2/
https://textbookfull.com/product/building-java-programs-a-back-
to-basics-approach-5th-edition-stuart-reges/
https://textbookfull.com/product/fundamentals-of-python-first-
programs-2nd-edition-kenneth-a-lambert/
Building Community and Family Resilience: Research,
Policy, and Programs Mike Stout
https://textbookfull.com/product/building-community-and-family-
resilience-research-policy-and-programs-mike-stout/
https://textbookfull.com/product/python-data-analysis-perform-
data-collection-data-processing-wrangling-visualization-and-
model-building-using-python-3rd-edition-avinash-navlani/
https://textbookfull.com/product/choppy-water-1st-edition-stuart-
woods-woods/
https://textbookfull.com/product/dendrites-3rd-edition-greg-
stuart/
https://textbookfull.com/product/the-new-mechanical-
philosophy-1st-edition-stuart-glennan/
Building Python Programs
First Edition
Stuart Reges
University of Washington
Marty Stepp
Stanford University
Allison Obourn
University of Arizona
The authors and publisher of this book have used their best efforts
in preparing this book. These efforts include the development,
research, and testing of the theories and programs to determine
their effectiveness. The authors and publisher make no warranty of
any kind, expressed or implied, with regard to these programs or to
the documentation contained in this book. The authors and publisher
shall not be liable in any event for incidental or consequential
damages in connection with, or arising out of, the furnishing,
performance, or use of these programs.
1 18
ISBN 10: 0-13-520598-0
Our new Building Python Programs text is designed for use in a first
course in computer science. We have class-tested it with hundreds
of undergraduates at the University of Arizona, most of whom were
not computer science majors. This textbook is based on our
previous text, Building Java Programs, now in its fourth edition. The
Java text has proven effective in our class testing with thousands of
students including our own at the University of Washington since
2007.
The following table shows how the layered approach works in the
first seven chapters:
Layers in Chapters 1 –7
Supplements
Answers to all self-check problems appear on our web site and are
accessible to anyone: http://www.buildingpythonprograms.com/
In addition, our web site also has the following additional resources
available for students:
Instructors can access the following resources from our web site:
MyLab Programming
MyLab Programming helps students fully grasp the logic, semantics,
and syntax of programming. Through practice exercises and
immediate, personalized feedback, MyLab Programming improves
the programming competence of beginning students, who often
struggle with the basic concepts and paradigms of popular high-level
programming languages. A self-study and homework tool, the
MyLab Programming course consists of hundreds of small practice
exercises organized around the structure of this textbook. For
students, the system automatically detects errors in the logic and
syntax of their code submissions and offers targeted hints that
enable students to figure out what went wrong—and why. For
instructors, a comprehensive gradebook tracks correct and incorrect
answers and stores the code inputted by students for review.
Acknowledgments
We would also like to thank the staff at Pearson who helped produce
the book. Rose Kernan managed the project and was our primary
point of contact during book production. Rose did a phenomenal job;
she was diligent, responsive, and helpful at every step of the
process. Amanda Brands was our content producer, and she also
provided excellent support along the way. Thank you to Martha
McMaster for proofreading the text, and thanks to Shelly Gerger-
Knechtl for copy editing and indexing. We thank Yvonne Vannatta,
our marketing manager, and Meghan Jacoby, our editorial assistant.
We also want to thank the team of artists and compositors from
Pearson’s partner institutions who helped produce the chapters of
this text.
Last but not least, the authors would like to thank the CSC 110
students at the University of Arizona who class-tested our chapters
in rough draft form. Students provided helpful suggestions for
improving the content and also submitted corrections for typos and
errors in drafts of chapters.
Stuart Reges
University of Washington
Marty Stepp
Stanford University
Allison Obourn
University of Arizona
MyLab Programming
Through the power of practice and immediate personalized
feedback, MyLab Programming™ helps students master
programming fundamentals and build computational thinking skills.
PROGRAMMING PRACTICE
With MyLab Programming, your students will gain first-hand
programming experience in an interactive online environment.
IMMEDIATE, PERSONALIZED
FEEDBACK
MyLab Programming automatically detects errors in the logic and
syntax of their code submission and offers trageted hints that
enables students to figure out what went wrong and why.
GRADUATED COMPLEXITY
MyLab Programming breaks down programming concepts into short,
understandable sequences of exercises. Within each sequence the
level and sophistication of the exercises increase gradually but
steadily.
DYNAMIC ROSTER
Students’ submissions are stored in a roster that indicates whether
the submission is correct, how many attempts were made, and the
actual code submissions from each attempt.
PEARSON eTEXT
The Pearson eText gives students access to their textbook anytime,
anywhere
STEP-BY-STEP VIDEONOTE
TUTORIALS
These step-by-step video tutorials enhance the programming
concepts presented in select Pearson textbooks.
Copyright © 2018 Pearson Education, Inc. or its affiliate(s). All rights reserved. HELO88173 · 11/15
Brief Contents
Chapter 1 Introduction to Python Programming 1
Why Python? 7
Escape Sequences 16
Flow of Control 31
Expressions 59
Literals 62
Arithmetic Operators 62
Precedence 66
2.2 Variables 70
A Program with Variables 74
Increment/Decrement Operators 79
Pseudocode 103
Constants 108
Colors 179
Images 188
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com