Python

Learn Python programming from scratch

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

Implicit and Explicit Type Conversion in Python

Learn the difference between implicit type conversion Python handles automatically and explicit type conversion you write yourself. Understand coercion rules and safe conversion patterns.

PythonBeginnerData Types
Jul 6, 2026· 5 min read

Python Type Casting Explained

Learn what type casting means in Python, how to cast between integers, floats, strings, and collections, and the difference between casting and conversion.

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

Compare Values and Data Types in Python

Learn how to compare values in Python using comparison operators, chained comparisons, and how different data types behave when compared to each other.

Data TypesBeginnerPython
Jul 6, 2026· 5 min read

Numeric Precision in Python

Learn how Python handles numeric precision across integers, floats, and complex numbers. Understand floating-point limitations and how to use Decimal for exact arithmetic.

PythonBeginnerData Types
Jul 6, 2026· 5 min read

Common Data Type Mistakes in Python

Learn the most common Python data type mistakes beginners make, including mutable defaults, identity vs equality confusion, and type assumption errors.

Data TypesPythonBeginner
Jul 6, 2026· 5 min read

Python Strings Explained

Learn what a Python string is, how strings store text as Unicode code points, and why strings are the most used data type in real Python programs.

BeginnerPythonStrings
Jul 6, 2026· 5 min read

Access Characters in Python Strings

Learn how to access individual characters in Python strings using zero-based indexing, negative indices, and the len() function to avoid IndexError.

BeginnerStringsPython
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
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

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