Défis de code : Learning-path

Entraînez-vous sur Learning-path avec 40 défis de code, du plus facile au plus difficile. Chaque défi s'exécute dans le navigateur, avec des tests instantanés, une revue de votre code par l'IA et des solutions de la communauté à comparer.

Facile · 35 Moyen · 5

Compétences travaillées: ListesComptageListes 2DArithmétiqueConstruire des chaînesFormulesAccumulateursBoucles forBoucles imbriquéesBoucles whileBoucles à reboursCas de base
  • Python · C++ · C#
  • Tests automatisés
  • Relecture IA
  • Solutions de la communauté
341
Défis
245
Solutions partagées
9
Langages

Tous les défis

Recherchez par nom ou sujet, ou filtrez par difficulté.

40 défis
Facile

Multiplication Grid

Build a full multiplication table.

Vous apprendrez Listes 2DIndices de lignes et colonnes
débutantLearning-pathboucles imbriquées
Facile

Row Sums

Add up every row of a grid.

Vous apprendrez Listes 2DBoucles imbriquées
débutantgrillesLearning-path
Facile

Cart Total With Discount

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

Vous apprendrez ListesRègles de remise
ArraysdébutantfonctionsLearning-path
Facile

Largest of Three

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

Vous apprendrez ComparaisonsCombiner des conditions
débutantconditionsLearning-path
Facile

Sum of Odd Numbers

Add every odd number up to a limit.

Vous apprendrez Boucles forAccumulateurs
débutantLearning-pathboucles
Facile

Compte à rebours jusqu'au décollage

Comptez à rebours à partir d'un nombre et terminez par Liftoff!

Vous apprendrez Boucles à reboursListes
débutantLearning-pathboucles
Facile

Power by Repeated Multiplication

Raise a number to a power with a loop.

Vous apprendrez Produit cumuléExposant zéro
débutantLearning-pathboucles
Facile

Multiplication Table Row

List the first multiples of a number.

Vous apprendrez MultiplesConstruire des listes
débutantLearning-pathboucles
Facile

Absolute Value Without abs

Compute an absolute value with a condition.

Vous apprendrez NégationSans fonctions intégrées
débutantconditionsLearning-path
Facile

Note en lettre

Transformez un score de test en note en lettre.

Vous apprendrez Chaînes if/elifIntervalles
débutantconditionsLearning-path
Facile

Point Quadrant

Find which quadrant a point lies in.

Vous apprendrez CoordonnéesTests de signe
débutantconditionsLearning-path
Facile

Body Mass Index

Compute BMI from weight and height.

Vous apprendrez FormulesVirgule flottante
débutantLearning-pathVariables
Facile

Ticket Price by Age

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

Vous apprendrez Tranches d'âgeValeurs limites
débutantconditionsLearning-path
Facile

Count Uppercase Letters

Count the capital letters in a text.

Vous apprendrez Tests de caractèresComptage
débutantLearning-pathStrings
Facile

Initials From a Name

Build uppercase initials from a full name.

Vous apprendrez Découpage de chaînesMajuscules
débutantLearning-pathStrings
Facile

Replace Spaces With Dashes

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

Vous apprendrez Construire des chaînesRemplacer des caractères
débutantLearning-pathStrings
Facile

Every Other Character

Keep the characters at even positions.

Vous apprendrez Indices de chaînePas
débutantLearning-pathStrings
Facile

Above-Average Values

Keep the values that are greater than the average.

Vous apprendrez Deux passagesFiltrage
ArraysdébutantLearning-path