Python

Learn Python programming from scratch

344 tutorials
12 of 344 tutorials
Jul 6, 2026· 5 min read

Python Data Types Explained

Learn every built-in Python data type including numbers, strings, booleans, collections, and None. Understand which type to use and why types matter.

PythonBeginnerData Types
Jul 6, 2026· 5 min read

Integer Data Type in Python

Learn how Python integers work, including unlimited precision, arithmetic operations, integer literals in different bases, and common integer methods.

BeginnerData TypesPython
Jul 6, 2026· 5 min read

Float Data Type in Python

Learn how Python floats work with IEEE 754 double precision, why 0.1 + 0.2 is not exactly 0.3, and how to handle floating-point arithmetic correctly.

PythonData TypesBeginner
Jul 6, 2026· 5 min read

Boolean Data Type in Python

Learn how Python booleans work as a subclass of integers, how truthiness evaluates any value, and how to use boolean logic in conditions and expressions.

Data TypesBeginnerPython
Jul 6, 2026· 5 min read

The None Data Type in Python

Learn how Python's None singleton represents the absence of a value, when to use None as a default, and how to check for None correctly with the is operator.

Data TypesPythonBeginner
Jul 6, 2026· 5 min read

Complex Numbers in Python

Learn how Python's built-in complex number type represents values with real and imaginary parts, how to perform arithmetic, and when to use the cmath module.

PythonData TypesBeginner
Jul 6, 2026· 5 min read

Immutable and Mutable Data Types in Python

Learn the critical difference between immutable and mutable types in Python, which types belong to each category, and how mutability affects your code.

BeginnerPythonData Types
Jul 6, 2026· 5 min read

Check Data Types with Python type()

Learn how to check the type of any Python value using the type() built-in function, the isinstance() function for flexible checks, and when to use each approach.

Data TypesBeginnerPython
Jul 6, 2026· 5 min read

Convert Data Types in Python

Learn how to convert between Python data types using built-in constructor functions like int(), float(), str(), list(), and dict(). Master safe type conversion patterns.

PythonBeginnerData Types
Jul 6, 2026· 5 min read

Python Object Identity: is vs ==

Learn the critical difference between the is operator for object identity and the double-equals operator for value equality in Python.

BeginnerData TypesPython
Jul 6, 2026· 5 min read

Slice Strings in Python

Learn how to extract substrings from Python strings using slice notation with start, stop, and step parameters. Master the most powerful string operation.

BeginnerPythonStrings
Jul 6, 2026· 5 min read

String Immutability in Python

Understand why Python strings cannot be changed, what immutability means for your code, and how to work with immutable strings efficiently.

BeginnerStringsPython