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 2 of 21
Spaces to hyphens
Data types
Easy
Slices of a word
Data types
Easy
Is it a palindrome?
Data types
Medium
Comparison table
Data types
Easy
Invoice with format
Data types
Easy
Digits of a number
Data types
Medium
Spot the alias
Data types
Medium
Shallow versus deep copy
Data types
Hard
Truthy or falsy
Data types
Medium
Safe conversion to integer
Data types
Medium
Basic calculator using if
Flow controls: Conditions
Easy
ABS - Absolute value
Flow controls: Conditions
Easy
Positive and negative
Flow controls: Conditions
Easy
Check vowels
Flow controls: Conditions
Easy
Check even numbers
Flow controls: Conditions
Easy
The largest of three numbers
Flow controls: Conditions
Easy
Conditional operator
Flow controls: Conditions
Medium
Nested conditional operator
Flow controls: Conditions
Medium
Student grade evaluation
Flow controls: Conditions
Easy
Leap year
Flow controls: Conditions
Easy
Classifying a triangle
Flow controls: Conditions
Medium
Rock, paper, scissors
Flow controls: Conditions
Medium
FizzBuzz of a number
Flow controls: Conditions
Easy
Shipping rate by brackets
Flow controls: Conditions
Medium