Small challenges.
Stronger problem solving.
426 programming exercises and projects, from interview patterns to practical data automation.
Page 16 of 18 · 426 problems · Showing 361–384
09Compare two integersPython Foundations · Python · Comparisons and Boolean logicEasyPractice pack10Check an inclusive intervalPython Foundations · Python · Comparisons and Boolean logicEasyPractice pack11Classify a numberPython Foundations · Python · ConditionsEasyPractice pack12Choose the larger valuePython Foundations · Python · ConditionsEasyPractice pack13Choose a shipping feePython Foundations · Python · ConditionsEasyPractice pack14Define rectangle areaPython Foundations · Python · Functions, parameters, and return valuesEasyPractice pack15Convert minutes to secondsPython Foundations · Python · Functions, parameters, and return valuesEasyPractice pack16Average two numbersPython Foundations · Python · Functions, parameters, and return valuesEasyPractice pack17Read the first item safelyPython Foundations · Python · Lists and indexingEasyPractice pack18Read the last item safelyPython Foundations · Python · Lists and indexingEasyPractice pack19Return both endpointsPython Foundations · Python · Lists and indexingEasyPractice pack20Accumulate a totalPython Foundations · Python · For loops and accumulationEasyPractice pack21Count positive valuesPython Foundations · Python · For loops and accumulationEasyPractice pack22Build a doubled listPython Foundations · Python · For loops and accumulationEasyPractice pack23Build a countdownPython Foundations · Python · While loops and terminationEasyPractice pack24Count doublings to a targetPython Foundations · Python · While loops and terminationEasyPractice pack25Read a field with a defaultPython Foundations · Python · DictionariesEasyPractice pack26Increment a copied recordPython Foundations · Python · DictionariesEasyPractice pack27Count labelsPython Foundations · Python · DictionariesEasyPractice pack28Count distinct integersPython Foundations · Python · Sets, tuples, and choosing collectionsEasyPractice pack29Translate a coordinate pairPython Foundations · Python · Sets, tuples, and choosing collectionsEasyPractice pack30Validate an age valuePython Foundations · Python · Missing values and input validationEasyPractice pack31Remove only missing valuesPython Foundations · Python · Missing values and input validationEasyPractice pack32Guard division by zeroPython Foundations · Python · Reading errors and writing simple assertionsEasyPractice pack
Free lessons and coding exercises
Find a starting point, read a worked example, and try matching exercises with hints and solutions. No account is needed for free previews.
Progress is for your own learning. Browser test results are not a verified assessment.