Practice Python

Beginner Python exercises

Welcome to Practice Python! There are over 30 beginner Python exercises just waiting to be solved. Each exercise comes with a small discussion of a topic and a link to a solution. New exercise are posted monthly, so check back often, or follow on Feedly, Twitter, or your favorite RSS reader. To get started right away, read more about Practice Python or go straight to Exercise 1!

Latest exercise: Exercise 35 on 28 February 2017

Latest solution: Solution 35 on 19 March 2017

Latest blog post: Guido van Rossum on Talk Python to Me on 11 March 2017

All Exercises

All Solutions