Practice Python

Beginner Python exercises

Welcome to Practice Python! There are over 40 beginner Python exercises just waiting to be solved. Each exercise comes with a small discussion of a topic and a corresponding post with a solution. Follow on Feedly, Twitter, our mailing list, or your favorite RSS reader. To get started right away, read more about Practice Python or go straight to Exercise 1!

Latest exercise: Exercise 40 on 17 July 2022

Latest solution: Solution 40 on 24 July 2022

Latest blog post: A Python Wordle Clone on 12 February 2022

All Exercises

All Solutions