I’ve been actively learning Python for almost a year and—as obvious as it sounds—one important aspect of learning is practicing!
Here are my three favorite online resources for practicing Python.
Practice Python is the side project of Michele Pratusevich, a research engineer. With over 30 beginner Python exercises, full with discussion of a topic and a link to a solution, Practice Python is a great place to start working on simple, practical problems. The difficulty rating system is helpful when trying to challenge oneself. Practice Python is free.
Don’t be fooled by CodingBat‘s lo-fi aesthetic. The site is packed with live coding problems to build coding skill in Java and Python. CodingBat is a project by Nick Parlante, a computer science lecturer at Stanford. Create a free account and track your progress on the various series of puzzles. CodingBat is free.
PyBites Code Challenges
PyBites is a repository of Python code challenges (Bites) organized in tiers: beginner, intermediate, and advanced. Users collects points (Bitecoins) when completing a challenge and it helps them with their overall ranking in the community. PyBites also offers a very friendly Slack workspace. Signup is through GitHub only. PyBites is $9.99 a month (yearly plan is also available).