Search

02. Basics of Python Programming, Data Types

Every programming language begins with how it understands data.
Before we can build logic or structure, we must first learn how values exist, how numbers, strings, and objects are represented and manipulated in memory.
In Python, data types aren’t just containers of information; they are the foundation of how the language thinks.
The way Python treats an integer, a float, or a string reveals its philosophy, that everything is an object, and every value has a defined behavior.
By studying data types, we’re not only learning what Python can store,
but also how Python perceives the world, through objects, relationships, and states.
Understanding this is the first step toward writing code that’s both elegant and intentional.
In this section, I’ll explore how Python classifies data, starting from the simplest numeric types to more complex structures that bring logic to life.