Grade from Score
Write a function that maps a numeric score to its letter grade using standard grading thresholds.
Grade Calculator
Implement a function that converts a numeric score to a letter grade using a standard scale.
Variadic Sum Function
Implement a variadic function that sums an arbitrary number of numeric arguments.
Cosine Similarity of Vectors
Compute the cosine similarity between two equal-length numeric vectors using pure Python.
Min-Max Scaler: Fit and Transform
Implement a MinMaxScaler class that normalizes numeric data to a given range using fit and transform methods.
Palindrome check
Return True if the string reads the same forwards and backwards (ignoring case and non-alphanumeric).
Parse Version SemVer
Write a function that parses a semantic version string into its numeric components.
Compare Version Strings
Given two version strings, compare them numerically by splitting on dots and ignoring leading zeros.
Missing keys default zero
Write a function to sum numeric values from dictionaries, treating missing keys as zero.
Dot Product of Vectors
Implement a function that returns the dot product of two numeric vectors.
Showing 10 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.