Abstract
In this chapter, you learn how to group statements into functions, which enables you to tell the computer how to do something, and to tell it only once. You won’t need to give it the same detailed instructions over and over. The chapter provides a thorough introduction to parameters and scoping, and you learn what recursion is and what it can do for your programs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Magnus Lie Hetland
About this chapter
Cite this chapter
Hetland, M.L. (2008). Abstraction. In: Beginning Python. Apress. https://doi.org/10.1007/978-1-4302-0634-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0634-7_6
Publisher Name: Apress
Print ISBN: 978-1-59059-982-2
Online ISBN: 978-1-4302-0634-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)