Absolute Difference of Two Integers
Compute the absolute difference between two integers, regardless of order.
Simple Interest Calculator
Implement a function that calculates simple interest given principal, annual rate, and time in years.
Tip Calculator
Write a function that calculates the total bill after adding a given tip percentage.
Is divisible by?
Create a function that returns True if a is divisible by b with no remainder, with a clear definition of edge cases.
Perimeter of triangle
Given three side lengths, return the perimeter (sum) of the triangle.
Circle Circumference Calculator
Implement a function that computes the circumference of a circle from its radius using the formula 2πr.
Pathlib Operations: File Path Basics
Practice using pathlib to manipulate file paths and extract components.
Count trailing zeros
Write a function that counts the number of trailing zeros in the decimal representation of a positive integer.
Capitalize First Letter
Write a function that capitalizes the first letter of each word in a string.
Event emitter basics
Implement an EventEmitter class with subscribe/emit/unsubscribe functionality.
Custom iterator class
Implement a custom iterator class that repeatedly yields elements from a list up to a given number of times.
Showing 11 challenges · easy
Guide: free Python coding challenges
Practice Python by solving problems
PythonSkillset challenges are hands-on coding exercises from beginner to advanced. Open a challenge, read the problem, write Python in the split-pane editor, and run tests with Pyodide — no install required.
How to use the arena
- Pick a category — basics, algorithms, strings, and more
- Open a challenge, read the statement, and edit the starter code
- Run tests, fix failures, then try a related quiz or tutorial lesson
Challenges vs tutorials and quizzes
Challenges test what you can build under constraints. For guided teaching, use our Python tutorials. For quick checks, try quizzes or copy snippets from code samples.