An Introduction to Python and Computer Programming by Yue Zhang (auth.) PDF

By Yue Zhang (auth.)

ISBN-10: 1661671691

ISBN-13: 9781661671693

ISBN-10: 9812876081

ISBN-13: 9789812876089

ISBN-10: 981287609X

ISBN-13: 9789812876096

This ebook introduces Python programming language and primary techniques in algorithms and computing. Its target market comprises scholars and engineers with very little historical past in programming, who have to grasp a pragmatic programming language and research the elemental pondering in computing device science/programming. the most contents come from lecture notes for engineering scholars from all disciplines, and has obtained excessive rankings. Its fabrics and ordering were adjusted again and again in response to lecture room reception. in comparison to substitute textbooks out there, this publication introduces the underlying Python implementation of quantity, string, checklist, tuple, dict, functionality, type, example and module items in a constant and easy-to-understand means, making task, functionality definition, functionality name, mutability and binding environments comprehensible inside-out. through giving the abstraction of implementation mechanisms, this e-book builds an effective knowing of the Python programming language.

Show description

Read Online or Download An Introduction to Python and Computer Programming PDF

Similar introductory & beginning books

Get C: an advanced introduction PDF

Gehani N. C. . a complicated advent (Computer technology Press, 1985)(ISBN 0881750530)(346s)

Download PDF by Wolfgang Kinzelbach: Groundwater modelling: an introduction with sample programs

With the transforming into quandary approximately groundwater assets either with appreciate to volume and caliber, the necessity for groundwater modelling instruments is expanding. even if there are many very good introductions to the thoughts of groundwater circulate and pollutants shipping, the scholar or working towards engineer wishing to advance a version and do sensible paintings at the desktop unearths that there's nonetheless a spot among the certainty of strategies and the power to address the particular computations.

Mathematical Models of Fluiddynamics: Modelling, Theory, by Rainer Ansorge PDF

This creation to the sector features a cautious collection of themes and examples with no sacrificing clinical strictness. the writer courses readers via mathematical modelling, the theoretical therapy of the underlying actual legislation and the development and potent use of numerical strategies to explain the behaviour of the dynamics of actual move.

Read e-book online Beginning Database-Driven Application Development in Java™ PDF

Starting Database-Driven program improvement in Java™ EE: utilizing GlassFish™ specializes in the open resource GlassFish patience engine. This ebook exhibits Java programmers how you can enhance purposes using relational database applied sciences with examples utilizing Oracle and MySQL and the GlassFish program improvement framework and deployment platform all in accordance with Java EE.

Extra resources for An Introduction to Python and Computer Programming

Example text

1 illustrates the changes that happen to the memory when the lines of code above are executed. When the string literals ‘abc’ and ‘de f ’ are evaluated, two corresponding string objects are constructed in the memory. They are associated with their respective identifiers via the assignment statements. When the concatenation operator is applied, a new string object is constructed, taking the concatenated value of the two operands. One thing to note is that the same operator + behaves differently when applied to strings as compared to numbers.

1 illustrates the changes that happen to the memory when the lines of code above are executed. When the string literals ‘abc’ and ‘de f ’ are evaluated, two corresponding string objects are constructed in the memory. They are associated with their respective identifiers via the assignment statements. When the concatenation operator is applied, a new string object is constructed, taking the concatenated value of the two operands. One thing to note is that the same operator + behaves differently when applied to strings as compared to numbers.

142857142857 In the example above, the first two lines of code show Python’s internal representation of the internal representation of the floating point number and its string conversion, respectively. The third line of code is a print statement that writes the value of the floating point number on the console. As can be seen from the example, the floating point number displayed by the print statement is the same as the string conversion, but different from the internal representation of the floating point number itself.

Download PDF sample

An Introduction to Python and Computer Programming by Yue Zhang (auth.)


by Richard
4.4

Rated 4.57 of 5 – based on 8 votes