Variables & Objects: How Do I Store Data to Work With?

  • Chapter
  • First Online:
Learn coding with Python and JavaScript
  • 39 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Fachmedien Wiesbaden GmbH, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics

Navigation