Find Missing Number
Given a list of n distinct integers from 0..n with one missing, return the missing number.
Convolve 1D signal
Implement a 1D convolution function with three modes using pure Python.
Remove Duplicates from Sorted Array
Given a sorted list, remove duplicates in-place and return the new length.
Array mean and std
Implement the function array_stats that returns the mean and population standard deviation of a list of numbers.
Reshape array dimensions
Implement a function that reshapes a 1D list into a 2D list with given dimensions.
Jump Game Minimum Jumps
Given an array of non-negative integers where each element is the maximum jump length, compute the minimum jumps to reach the last index.
Showing 1–6 of 6 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.