Abstract
In this chapter we will now turn to working with variables in Python. We will also see how to combine multiple variables in list-style fields (arrays) and associate hashes (dictionaries). Python is an object-oriented language, and all variables are objects with attributes and methods. Therefore, we will not only look at creating, assigning, and converting variables between different data types, but also at how object orientation is implemented in Python and how you can use object-oriented programming in Python to your advantage.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Fachmedien Wiesbaden GmbH, part of Springer Nature
About this chapter
Cite this chapter
Zuckarelli, J.L. (2024). Variables & Objects: How Do I Store Data to Work With?. In: Learn coding with Python and JavaScript . Springer, Wiesbaden. https://doi.org/10.1007/978-3-658-42912-6_21
Download citation
DOI: https://doi.org/10.1007/978-3-658-42912-6_21
Published:
Publisher Name: Springer, Wiesbaden
Print ISBN: 978-3-658-42911-9
Online ISBN: 978-3-658-42912-6
eBook Packages: Computer ScienceComputer Science (R0)