LeetCode is a very popular platform for improving your programming skills. While LeetCode is not Python-specific, it does have a lot of Python exercises.
But LeetCode isn't for everyone and the LeetCode platform is much better at some things than others.
You can find a comparison of various LeetCode alternatives for Python learning in the below table.
| Feature | LeetCode | HackerRank | CodeWars | Exercism | PyBites | WPE | Python Morsels |
|---|---|---|---|---|---|---|---|
| Algorithmic Focus Strong Focus on Algorithmic Exercises | – | – | – | – | |||
| ”Pythonic“ Focus Strong Focus on Learning Python Idioms | – | – | – | – | |||
| Real-World Focus Focus on Real-World Exercises | – | – | – | – | |||
| Automated Tests | |||||||
| Detailed Solutions Solution Walk-Through | – | – | – | – | – | ||
| Community Forum | – | ||||||
| Competition / Leader board | – | – | – | ||||
| Detailed Hints | – | – | – | – | – | – | |
| Related Screencasts | – | – | – | – | – | – | |
| Built-in Exercise Revisiting | – | – | – | – | – | – | |
| Free | – | – | – |
While deciding which Python exercise service is right for you, consider the following questions.
Are you looking for exercises that focus on theoretical Computer Science topics, like algorithms and data structures? Or are you looking for exercises that focus on writing maintainable Python code?
Are you interested in solving exercises for the fun of it? Or are you hoping to work through exercises that resemble realistic coding problems?
Are you looking to compete with others? Or are you primarily looking to learn?
Is participating in a community forum an important factor you?
Are you willing to spend money to save time? Or is your budget tight?
If you are willing to spend money, but your budget is tight, note that Python Morsels has an income-based discount program.
Ready to start practicing Python?
Try Python Morsels for free