Abstract
Variable as an entity has been introduced. It can be an integer, a number—real or complex, a string of characters or results of operations carried out with them. The built-in functions in Python are the commonly used ones with variables. These can be algebraic or logical ones represented by identified symbols or names. Significance of keywords has been brought out. Formation of strings and simple direct printing (being needed with many programs) are explained through illustrations. The exercises at the end of the chapter help in practice and build up of confidence in using Python.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
van Rossum G, Drake FL Jr (2014a) The Python language reference. Python software foundation
van Rossum G, Drake FL Jr (2014b) The Python library reference. Python software foundation
van Rossum G, Drake FL Jr (2014c) Python tutorial. Python software foundation
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2016 Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Padmanabhan, T.R. (2016). Algebra with Variables. In: Programming with Python. Springer, Singapore. https://doi.org/10.1007/978-981-10-3277-6_2
Download citation
DOI: https://doi.org/10.1007/978-981-10-3277-6_2
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-3276-9
Online ISBN: 978-981-10-3277-6
eBook Packages: Computer ScienceComputer Science (R0)