Training

0/29 0 / 29 exercices

Those exercises are often focusing on a single aspect of the language:

  • They should be quick to understand.
  • But they may not be the kind of problem you'll encounter in real life.
New

Sum of even numbers <= 100

Solved 12054 times.

  • Basics
  • Training
New

Multiples of 3 and 5

Solved 10901 times.

  • Basics
  • Training
New

Print every two letters pairs

Solved 8634 times.

  • Basics
  • Training
New

Print every pair of distinct letters

Solved 7996 times.

  • Basics
  • Training
New

Distance

Solved 5751 times.

  • Training
New

Check if a number is prime

Solved 3926 times.

  • Training
New

Print every prime numbers in a range

Solved 2695 times.

  • Training
New

Sum of every prime number below n

Solved 3026 times.

  • Training
New

Next prime

Solved 2143 times.

  • Training
New

Display the date and time

Solved 3570 times.

  • Training
New

The Fibonacci sequence

Solved 1611 times.

  • Training
New

Flatten lists

Solved 1052 times.

  • Training
New

Exceptions

Solved 1473 times.

  • Training
New

Print the content of a file

Solved 1352 times.

  • Training
New

Is divisible by ?

Solved 1412 times.

  • Training
New

Adam Number

Solved 369 times.

  • Training
New

Product of iterable

Solved 1338 times.

  • Training
New

Frequency of letters in a file

Solved 824 times.

  • Training
New

Pernicious numbers

Solved 807 times.

  • Training
New

Count the lower 'e' in the 'words' file

Solved 1157 times.

  • Training
New

Largest product in a series

Solved 704 times.

  • Training
New

Doing HTTP requests

Solved 731 times.

  • Training
New

Longest Collatz sequence

Solved 714 times.

  • Training
New

Simple adder

Solved 1604 times.

  • Training
  • Command line
New

Consecutive Sum

Solved 238 times.

  • Training
New

Lambda expressions

Solved 623 times.

  • Training
New

Largest product in a grid

Solved 435 times.

  • Training
New

Pascal's triangle

Solved 329 times.

  • Training
New

CSV and Python

Solved 270 times.

  • Training