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

Unicode and Encoding in Python

Learn how Unicode works in Python strings, how to encode text to bytes and decode bytes back to text, and how to handle encoding errors gracefully.

StringsPythonBeginner
Jul 6, 2026· 5 min read

Common String Methods in Python

Learn the most useful Python string methods including count(), find() variants, partition(), translate(), and classification methods like isalpha() and isdigit().

StringsPythonBeginner
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

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

Working with Python Tuples

Learn what Python tuples are, how they differ from lists, when to use them, and why immutability makes tuples the right choice for fixed collections of data.

collectionsPythonBeginner
Jul 8, 2026· 5 min read

Pack and Unpack Tuples in Python

Learn tuple packing and unpacking in Python. Master multiple assignment, swapping variables, star expressions for extended unpacking, and using unpacking in loops.

collectionsBeginnerPython