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 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 39 on 20 March 2022

Latest solution: Solution 38 on 13 March 2022

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

- 1: Character Input
- 2: Odd Or Even
- 3: List Less Than Ten
- 4: Divisors
- 5: List Overlap
- 6: String Lists
- 7: List Comprehensions
- 8: Rock Paper Scissors
- 9: Guessing Game One
- 10: List Overlap Comprehensions
- 11: Check Primality Functions
- 12: List Ends
- 13: Fibonacci
- 14: List Remove Duplicates
- 15: Reverse Word Order
- 16: Password Generator
- 17: Decode A Web Page
- 18: Cows And Bulls
- 19: Decode A Web Page Two
- 20: Element Search
- 21: Write To A File
- 22: Read From File
- 23: File Overlap
- 24: Draw A Game Board
- 25: Guessing Game Two
- 26: Check Tic Tac Toe
- 27: Tic Tac Toe Draw
- 28: Max Of Three
- 29: Tic Tac Toe Game
- 30: Pick Word
- 31: Guess Letters
- 32: Hangman
- 33: Birthday Dictionaries
- 34: Birthday Json
- 35: Birthday Months
- 36: Birthday Plots
- 37: Functions Refactor
- 38: f Strings
- 39: Character Input Datetime

- 1: Character Input Solutions
- 2: Odd Or Even Solutions
- 3: List Less Than Ten Solutions
- 4: Divisors Solutions
- 5: List Overlap Solutions
- 6: String Lists Solutions
- 7: List Comprehensions Solutions
- 8: Rock Paper Scissors Solutions
- 9: Guessing Game One Solutions
- 10: List Overlap Comprehensions Solutions
- 11: Check Primality Functions Solutions
- 12: List Ends Solutions
- 13: Fibonacci Solutions
- 14: List Remove Duplicates Solutions
- 15: Reverse Word Order Solutions
- 16: Password Generator Solutions
- 17: Decode A Web Page Solutions
- 18: Cows And Bulls Solutions
- 19: Decode A Web Page Two Solutions
- 20: Element Search Solutions
- 21: Write To A File Solutions
- 22: Read From File Solutions
- 23: File Overlap Solutions
- 24: Draw A Game Board Solutions
- 25: Guessing Game Two Solutions
- 26: Check Tic Tac Toe Solutions
- 27: Tic Tac Toe Draw Solutions
- 28: Max Of Three Solutions
- 29: Tic Tac Toe Game Solutions
- 30: Pick Word Solutions
- 31: Guess Letters Solutions
- 32: Hangman Solutions
- 33: Birthday Dictionaries Solutions
- 34: Birthday Json Solutions
- 35: Birthday Months Solutions
- 36: Birthday Plots Solutions
- 37: Functions Refactor Solution
- 38: f Strings Solution
- 39: Coming soon!