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.
Showing 5 challenges · Python Basics
Python Basics — Python coding challenges
What you will find here
This page lists python basics challenges — real Python problems you solve in the browser IDE with instant test feedback. Each challenge includes a clear brief, starter code, and automated checks.
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.