Practice Python
Every practice exercise of the course in one place. Filter by difficulty or topic, pick one and solve it in the full-screen editor.
- 493exercises
- 123Easy
- 261Medium
- 109Hard
Challenge of the day · 30 Nov
Count XML tags
Your progress by difficulty
to see your progress by difficulty.
Sign in493 exercises · Page 6 of 21
Triangle Rectangle Mirror
Geometric shapes
Medium
Draw a pyramid
Geometric shapes
Medium
Graphic of a Function
Geometric shapes
Medium
Function greeting and farewell
Functions
Easy
Greet and bid farewell with parameters
Functions
Easy
Replace character in a string
Functions
Medium
Check alphabetical string
Functions
Medium
Check numeric string
Functions
Medium
Function count spaces of a text
Functions
Medium
Function to sum the digits of a number
Functions
Medium
Return value from Main
Functions
Medium
Function to write format text
Functions
Medium
Find the minimum and maximum in an array
Functions
Medium
Function to add an array of integers
Functions
Medium
Function to show an inverted string
Functions
Medium
Function to check palindrome
Functions
Medium
Search the greatest value in an array
Functions
Medium
Function to calculate the power of a number
Functions
Medium
Function to write text with title format
Functions
Medium
Interest with default values
Functions
Easy
Seconds to hours and minutes
Functions
Easy
Function composition
Functions
Medium
Calculate power recursively
Recursion
Medium
Create a recursive function to multiply
Recursion
Medium