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 in261 exercises · Page 8 of 11
Batch rename
File system
Medium
Read ID3 v1 tags from MP3 file
Binary Files
Medium
Read dimensions of BMP image
Binary Files
Medium
Encrypt a BMP image
Binary Files
Medium
Inverted file
Binary Files
Medium
File copier
Binary Files
Medium
File splitter
Binary Files
Medium
Hexadecimal viewer
Binary Files
Medium
Checksum of a file
Binary Files
Medium
Recognize the type of a file
Binary Files
Medium
Zero division capture
Error and Exception Handling
Medium
Handling multiple exceptions
Error and Exception Handling
Medium
Retry until valid
Error and Exception Handling
Medium
Validated square root
Error and Exception Handling
Medium
Custom exception
Error and Exception Handling
Medium
Calculator with finally
Error and Exception Handling
Medium
Chained errors
Error and Exception Handling
Medium
The order of try, else and finally
Error and Exception Handling
Medium
Nested levels
Context managers
Medium
Capture the output
Context managers
Medium
Decorative frame
Context managers
Medium
Ignore errors
Context managers
Medium
Guaranteed cleanup
Context managers
Medium
Read a traceback
Debugging and testing
Medium