Practice Python
Every practice exercise of the course in one place. Filter by difficulty or topic, pick one and solve it in the full-screen editor.
- 493exercises
- 123Easy
- 261Medium
- 109Hard
Challenge of the day · 30 Nov
Count XML tags
Your progress by difficulty
to see your progress by difficulty.
Sign in109 exercises · Page 1 of 5
Shallow versus deep copy
Data types
Hard
Menu with match
Flow controls: Conditions
Hard
Merge two sorted lists
Arrays
Hard
Sort by several criteria
Arrays
Hard
Words with the same letters
Tuples and sets
Hard
Spiral traversal
Matrices and grids
Hard
Matrix product
Matrices and grids
Hard
Minesweeper
Matrices and grids
Hard
Paint bucket
Matrices and grids
Hard
Towers of Hanoi
Recursion
Hard
Flattening nested lists
Recursion
Hard
Fast exponentiation
Recursion
Hard
Ways to climb stairs
Recursion
Hard
Merge sort
Classic algorithms
Hard
Quicksort
Classic algorithms
Hard
The k-th smallest
Classic algorithms
Hard
Subsets with a target sum
Search and backtracking
Hard
Well-formed parentheses
Search and backtracking
Hard
The N queens problem
Search and backtracking
Hard
Count islands
Search and backtracking
Hard
Escape the maze
Search and backtracking
Hard
Color a map
Search and backtracking
Hard
Longest substring without repeats
Algorithmic patterns
Hard
Subarrays with sum k
Algorithmic patterns
Hard