Python

Learn Python programming from scratch

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

Python Variables Explained

Understand what Python variables are, how they store and reference data, and why Python's variable model is different from other programming languages.

PythonVariablesBeginner
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

Common String Operations in Python

Learn the most frequently used Python string operations including concatenation, repetition, membership testing, and length checking with practical examples.

BeginnerStringsPython
Jul 6, 2026· 5 min read

Python F-Strings Explained

Learn how to use Python f-strings to embed expressions directly inside string literals for clean, fast, and readable string formatting.

PythonBeginnerStrings
Jul 6, 2026· 5 min read

Escape Characters in Python Strings

Learn how to use escape characters in Python strings to include quotes, newlines, tabs, backslashes, and Unicode characters that cannot be typed directly.

PythonStringsBeginner
Jul 6, 2026· 5 min read

Multiline Strings in Python

Learn how to create multiline strings in Python using triple quotes, how Python handles line breaks, and when to use multiline strings for docstrings and text blocks.

StringsBeginnerPython
Jul 6, 2026· 5 min read

Split and Join Strings in Python

Learn how to split strings into lists and join lists into strings using Python's split() and join() methods with practical examples.

PythonBeginnerStrings
Jul 6, 2026· 5 min read

Remove Whitespace from Strings in Python

Learn how to strip whitespace from Python strings using strip(), lstrip(), rstrip(), and how to handle user input and file data cleanly.

BeginnerStringsPython