Learning path coding challenges

Practise learning path with 40 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Easy · 35 Medium · 5

Skills you'll practise: Lists2D listsCountingArithmeticFormulasAccumulatorsAge rangesAveragesAvoiding double countsBase casesBoolean flagsBoundary values
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
226
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

40 challenges
Easy

Password Rules Check

Check a password against simple strength rules.

You'll learn ValidationBoolean flags
BeginnerConditionsLearning-pathStrings
No solutions yet
Easy

Sum of Odd Numbers

Add every odd number up to a limit.

You'll learn For loopsAccumulators
BeginnerLearning-pathLoops
No solutions yet
Easy

Every Other Character

Keep the characters at even positions.

You'll learn String indexingSteps
BeginnerLearning-pathStrings
No solutions yet
Easy

Body Mass Index

Compute BMI from weight and height.

You'll learn FormulasFloating point
BeginnerLearning-pathVariables
No solutions yet
Easy

Power by Repeated Multiplication

Raise a number to a power with a loop.

You'll learn Running productZero exponent
BeginnerLearning-pathLoops
No solutions yet
Easy

Letter Grade

Turn a test score into a letter grade.

You'll learn if/elif chainsRanges
BeginnerConditionsLearning-path
No solutions yet
Easy

Row Sums

Add up every row of a grid.

You'll learn 2D listsNested loops
BeginnerGridsLearning-path
No solutions yet
Easy

Multiplication Table Row

List the first multiples of a number.

You'll learn MultiplesBuilding lists
BeginnerLearning-pathLoops
No solutions yet
Easy

Absolute Value Without abs

Compute an absolute value with a condition.

You'll learn NegationNo built-ins
BeginnerConditionsLearning-path
No solutions yet
Easy

Countdown to Liftoff

Count down from a number and end with Liftoff!

You'll learn Reverse loopsLists
BeginnerLearning-pathLoops
No solutions yet
Easy

Ticket Price by Age

Choose a cinema ticket price from the visitor's age.

You'll learn Age rangesBoundary values
BeginnerConditionsLearning-path
No solutions yet
Easy

Swap First and Last

Exchange the first and last items of a list.

You'll learn List indexingSwapping
ArraysBeginnerLearning-path
No solutions yet
Easy

Point Quadrant

Find which quadrant a point lies in.

You'll learn CoordinatesSign checks
BeginnerConditionsLearning-path
No solutions yet
Easy

Cart Total With Discount

Total a shopping cart and apply a discount above a threshold.

You'll learn ListsDiscount rules
ArraysBeginnerFunctionsLearning-path
No solutions yet
Easy

Initials From a Name

Build uppercase initials from a full name.

You'll learn String splittingUppercase
BeginnerLearning-pathStrings
No solutions yet
Easy

Largest of Three

Pick the largest of three numbers without a built-in max.

You'll learn ComparisonsCombining conditions
BeginnerConditionsLearning-path
No solutions yet
Easy

Replace Spaces With Dashes

Turn spaces into dashes to make a URL-style slug.

You'll learn String buildingCharacter replacement
BeginnerLearning-pathStrings
No solutions yet
Easy

Count Uppercase Letters

Count the capital letters in a text.

You'll learn Character checksCounting
BeginnerLearning-pathStrings
No solutions yet