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 4 of 5
Temporary setting
Context managers
Hard
Resource stack
Context managers
Hard
Error-aware log
Context managers
Hard
Import order
Modules and imports
Hard
Duration between two moments
Dates and times
Hard
Working days
Dates and times
Hard
Event schedule
Dates and times
Hard
From TOML to JSON
Data formats: XML, INI, TOML and pickle
Hard
Copy data with pickle
Data formats: XML, INI, TOML and pickle
Hard
From XML to dictionary
Data formats: XML, INI, TOML and pickle
Hard
Transfers with rollback
Databases with SQLite
Hard
Customers and orders
Databases with SQLite
Hard
Statistics per subject
Databases with SQLite
Hard
Integrity constraints
Databases with SQLite
Hard
Text tool with subcommands
Command-line programs
Hard
Validator with exit code
Command-line programs
Hard
Unit converter
Command-line programs
Hard
Complete program with main
Command-line programs
Hard
Worker pool
Concurrency
Hard
Event loop with a virtual clock
Concurrency
Hard
Deadlock risk
Concurrency
Hard
Tasks with dependencies
Concurrency
Hard
Sign messages with HMAC
Hashing, encoding and basic security
Hard
Store passwords with salt
Hashing, encoding and basic security
Hard