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

Creating Strings in Python

Learn every way to create a Python string using single quotes, double quotes, triple quotes, the str() constructor, and implicit concatenation.

StringsPythonBeginner
Jul 6, 2026· 5 min read

Format Strings in Python

Learn how to format strings in Python using the str.format() method, positional and keyword placeholders, and the format specification mini-language.

PythonBeginnerStrings
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

Search and Replace Text in Python

Learn how to search and replace text in Python strings using find(), index(), replace(), startswith(), endswith(), and the in operator.

BeginnerPythonStrings
Jul 6, 2026· 5 min read

Change String Case in Python

Learn how to change string case in Python using lower(), upper(), capitalize(), title(), swapcase(), and casefold() with practical examples.

PythonStringsBeginner
Jul 6, 2026· 5 min read

Compare Strings in Python

Learn how to compare strings in Python using equality, ordering operators, and case-insensitive comparison with practical examples and Unicode-aware techniques.

BeginnerPythonStrings