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 in123 exercises · Page 3 of 6
Minimum and maximum with a tuple
Tuples and sets
Easy
Remove duplicates
Tuples and sets
Easy
Distinct letters
Tuples and sets
Easy
Contact book
Dictionaries
Easy
Count words
Dictionaries
Easy
Letter frequency
Dictionaries
Easy
Coffee shop
Dictionaries
Easy
Row and column sums
Matrices and grids
Easy
Transpose a matrix
Matrices and grids
Easy
Square
Geometric shapes
Easy
Rectangle
Geometric shapes
Easy
Function greeting and farewell
Functions
Easy
Greet and bid farewell with parameters
Functions
Easy
Interest with default values
Functions
Easy
Seconds to hours and minutes
Functions
Easy
Sum of digits
Recursion
Easy
Linear search
Classic algorithms
Easy
Minimum and maximum by hand
Classic algorithms
Easy
Greatest common divisor
Classic algorithms
Easy
Are they permutations of each other?
Classic algorithms
Easy
Convert to base b
Numbers and bits
Easy
Count set bits
Numbers and bits
Easy
Powers of two
Numbers and bits
Easy
Squares with a comprehension
Comprehensions and functional programming
Easy