Abstract
This chapter introduces some fundamental topics in programming: list objects, while and for loops, if-else branches, and user-defined functions. Everything covered here will be essential for programming in general — and of course in the rest of the book. The programs associated with the chapter are found in the folder src/basic.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
(2009). Basic Constructions. In: A Primer on Scientific Programming with Python. Texts in Computational Science and Engineering, vol 6. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02475-7_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-02475-7_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-02474-0
Online ISBN: 978-3-642-02475-7
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)