Python

Learn Python programming from scratch

144 tutorials
12 of 144 tutorials
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 7, 2026· 5 min read

Python Collections Explained

Learn about Python's four main collection types, lists, tuples, sets, and dictionaries, and understand which one to use for any programming task.

BeginnercollectionsPython
Jul 7, 2026· 5 min read

Working with Python Lists

Learn what a Python list is, how it stores ordered mutable data, and why lists are the most commonly used collection type in Python programs.

BeginnerPythoncollections
Jul 7, 2026· 5 min read

Create and Access Python Lists

Learn every way to create a Python list and how to access individual items, slices, and nested elements using zero-based indexing.

BeginnerPythoncollections
Jul 7, 2026· 5 min read

Modify Python Lists

Learn how to add, remove, and change items in a Python list using append, insert, extend, pop, remove, the del statement, and slice assignment.

collectionsBeginnerPython
Jul 7, 2026· 5 min read

Sort and Reverse Python Lists

Learn to sort Python lists using the sort method and the sorted function, control ascending and descending order, sort by a custom key, and reverse lists.

BeginnerPython
Jul 8, 2026· 5 min read

Copy Python Lists

Learn how to copy Python lists using slicing, the copy method, the list constructor, and the copy module. Understand shallow vs deep copies.

PythonBeginnercollections
Jul 8, 2026· 5 min read

Nested Lists in Python

Learn how to create, access, and modify nested lists in Python. Build grids and matrices, and understand how shallow copies affect multi-dimensional data.

BeginnercollectionsPython
Jul 8, 2026· 5 min read

List Comprehensions in Python

Master Python list comprehensions to create, filter, and transform lists in a single line. Learn the syntax, common patterns, and when to use a regular loop instead.

collectionsPythonBeginner
Jul 8, 2026· 5 min read

Practice Building with Python Collections

Put your Python collections knowledge into practice. Build a task tracker, a grade calculator, and a shopping cart using lists, dictionaries, sets, and tuples.

PythonBeginnercollections