[FREE PDF sample] Building Python Programs 1st Edition Stuart Reges ebooks
[FREE PDF sample] Building Python Programs 1st Edition Stuart Reges ebooks
com
https://textbookfull.com/product/building-python-
programs-1st-edition-stuart-reges/
OR CLICK BUTTON
DOWNLOAD NOW
https://textbookfull.com/product/building-java-programs-a-back-to-
basics-approach-stuart-reges/
textboxfull.com
https://textbookfull.com/product/building-java-programs-a-back-to-
basics-approach-stuart-reges-2/
textboxfull.com
https://textbookfull.com/product/building-java-programs-a-back-to-
basics-approach-5th-edition-stuart-reges/
textboxfull.com
https://textbookfull.com/product/fundamentals-of-python-first-
programs-2nd-edition-kenneth-a-lambert/
textboxfull.com
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/
textboxfull.com
https://textbookfull.com/product/choppy-water-1st-edition-stuart-
woods-woods/
textboxfull.com
https://textbookfull.com/product/dendrites-3rd-edition-greg-stuart/
textboxfull.com
https://textbookfull.com/product/the-new-mechanical-philosophy-1st-
edition-stuart-glennan/
textboxfull.com
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
Title: The botanist's repository for new and rare plants; vol. 06 [of
10]
Language: English
of the
Botanist’s Repository
Comprising
Colour’d Engravings
of
ONLY
——in——
after the
Linnæan System.
by
H. Andrews
SANSEVIERA CARNEA.
Flesh-coloured Sanseviera.
CLASS VI. ORDER I.
CROCUS BIFLORUS.
Yellow-bottomed White Crocus.
CLASS III. ORDER I.
P O LY G A L A S T I P U L A C E A .
Stipuled Milkwort.
CLASS XVII. ORDER III.
D I A D E L P H I A O C TA N D R I A . Tw o B r o t h e r h o o d s . E i g h t
Chives.
ESSENTIAL GENERIC CHARACTER.
Calyx 5-phyllus: foliolis duobus alæformibus, coloratis. Legumen
obcordatura, biloculare.
Cup 5-leaved, with two of the leaves like wings, coloured. Pod inverse
heart-shaped, two-celled.
SPECIFIC CHARACTER, &C.
Polygala. Floribus imberbibus lateralibus, caule suffruticoso, foliis ternis
linearibus acutis. Willd. Sp. pl. 892.
Polygala. With beardless lateral flowers, a shrubby stem, and ternate,
linear, acute leaves.
Descriptio. Suffrutex, ramulis subdivaricatis, filiformibus, elongatis,
pubescentibus. Folia fasciculata, linearia, obsolete mucronata, 3-6 in singulo
fasciculo; infimo latiore, breviore, stipuliforme. Flores P. Heisteriæ, at
minores, axillares, solitarii, vel subinde binati; sessiles.
REFERENCE TO THE PLATE.
1. The Empalement.
2.The same magnified.
3.The Keel magnified.
4.One of the wings.
5.The same magnified.
6.The Chives.
7.The same magnified.
8. The Pointal magnified
A rare Cape species recently introduced to the Hibbertian Collection, where
our drawing was taken last summer. It is a greenhouse shrub of the more
delicate kind; and is propagated, but not very readily, by cuttings.
In the structure of the flowers this species agrees exactly with the
common Polygala Heisteria, which Linnæus originally made a distinct genus
from Polygala; but afterwards united them. In keeping them distinct we think
he did right; but wrong in uniting them. Our readers will have an opportunity
of judging for themselves in our next number, in which will be figured a true
Polygala, and another of the Heisteria family; with proper dissections of
each.
Heisteria was named by Linnæus in honour of the celebrated German
surgeon Heister.
PLATE CCCLXIV.
I R I S PAV O N I A .
The Peacock-Iris.
CLASS III. ORDER I.
SCILLA SIBERICA.
Siberian Squill.
CLASS VI. ORDER I.
G E R A N I U M B A R B AT U M . Va r. U n d u l a t u m .
Bearded-leaved Geranium. Var. Waved-petalled.
CLASS XVI. ORDER IV.
M O N A D E L P H I A D E C A N D R I A . T h r e a d s u n i t e d . Te n
Chives.
ESSENTIAL GENERIC CHARACTER.
Monogyna. Stigmata quinque. Fructus rostratus, pentacoccus.
One Pointal. Five summits. Fruit furnished with long awns, five dry
berries,
SPECIFIC CHARACTER, &C.
Geranium. Foliis pinnatis, incisuris pinnarum aristatis barbatisque, petalis
omnibus flavicantibus, rubro-notatis undulatisque.
Geranium. With winged leaves, the segments aristated and bearded, all
the petals yellowish, marked with red, and undulated.
Descriptio. Pinnæ foliorum inæqualiter incisæ, incissuris acuminatis,
barbatisque. Scapus ramosus. Flores umbellati. Petala omnia linearia,
obtusa, elongata, recurvata, valde undulata, flavicantia. basi fere ad medium
lætissime rubra. Stamina fertilia quinque.
REFERENCE TO THE PLATE.
1. The Empalement.
2.The Chives and Pointal.
3.The same magnified.
4. The Pointal magnified
This plant was sent from the Cape to the collection of George Hibbert, Esq.
at Clapham, where our drawing was taken in September; it is no more than a
variety, although a very beautiful one, of the Geranium barbatum of this
work, of which one variety has already been figured on plate 323. It is a
green-house plant, and requires the same treatment as the other tuberous
rooted species.
PLATE CCCLXVII.
ANAGALLIS GRANDIFLORA.
Great-flowered Pimpernel.
CLASS V. ORDER I.
P E N TA N D R I A M O N O G Y N I A . F i v e C h i v e s . O n e P o i n t a l .
ESSENTIAL GENERIC CHARACTER.
Capsula 1-locularis, circumscissa. Corolla rotata. Stamina hirsuta.
Stigma capitatum.
Capsule one-celled, cut round. Corolla wheel-shaped. Chives hairy.
Summit headed.
SPECIFIC CHARACTER, &C.
Anagallis, foliis ternatis cordato-ovatis acuminatis.
Anagallis, with leaves in threes heart-egg-shaped acuminated.
Descriptio. Radix annua. Rami elongati, effusi, procumbentes, angulati,
superne simplices. Folia ternatim verticillata, remota, elliptica, acuminata,
amplexicaulia, utrinque 3-5-lineata. Pedunculi ternatim verticillati, axillares,
filiformes, primo patuli, demum sæpe recurvi, foliis duplo longiores. Calyx
4-rarius 5-phyllus, foliolis lanceolatis, acuminatis, carinatis, marginibus
membranaceis. Corolla 5-rarius 4-petala, petalis basi confluentibus, patulis,
orbiculatis, coccineis, basi intus nigris. Filamenta 5 hirsuta, atro-
purpurascentia, petalis multo breviora. Germen pallidum. Stylus pergracilis
purpureus antheras luteas superans. Stigma simplex, capitulatum, viride.
REFERENCE TO THE PLATE.
1. A peduncle and calyx.
2.The corolla spread open.
3. The seed-bud and pointal, and summit magnified
This new and elegant species of Anagallis, the largest and most showy of
that genus hitherto discovered, was introduced into England, we believe, in
the last year; but by whom, or from what country, we have not yet
satisfactorily ascertained. It is reported to be of African origin, and to have
come to England from the Paris garden. Our figure was made from a plant
trained up near three feet high, in Lady De Clifford’s collection at
Paddington, where it is treated as a green-house plant. We have not yet seen
it produce good seeds, although apparently an annual plant; but it is easily
increased by cuttings in the usual way. In every thing except size, and in
having more entire petals, it very much resembles Anagallis arvensis; a plant
truly remarkable for being the only one indigenous to Britain (the Poppies
excepted) with scarlet flowers.
PLATE CCCLXVIII.
MELANTHIUM MASSONIÆFOLIUM.
Massonia-leaved Melanthium.
CLASS VI. ORDER I.
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