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 in493 exercises · Page 14 of 21
Maximum subarray
Complexity and efficiency
Hard
Fibonacci with memoization
Complexity and efficiency
Hard
Coin change
Complexity and efficiency
Hard
Write to a text file
Text Files
Easy
Read a text file
Text Files
Easy
Appending to a text file
Text Files
Easy
Convert a text file to uppercase
Text Files
Medium
Count the words in a file
Text Files
Medium
Encrypt a text file
Text Files
Medium
Reverse text from a file
Text Files
Medium
Search lines in a text file
Text Files
Medium
More program
Text Files
Medium
Characters and bytes
Text Files
Medium
Read a file of unknown encoding
Text Files
Hard
List a folder
File system
Easy
Count files by extension
File system
Medium
Size of a folder
File system
Medium
Directory tree
File system
Hard
Search with patterns
File system
Medium
Name, extension and folder
File system
Easy
Organize by extension
File system
Hard
Backup copy
File system
Medium
Duplicate files
File system
Hard
Batch rename
File system
Medium