Training to do

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 15433 times.

  • Basics
  • Training
New

Multiples of 3 and 5

Solved 14053 times.

  • Basics
  • Training
New

Print every two letters pairs

Solved 11349 times.

  • Basics
  • Training
New

Print every pair of distinct letters

Solved 10599 times.

  • Basics
  • Training
New

Distance

Solved 7946 times.

  • Training
New

Is divisible by ?

Solved 3030 times.

  • Training
New

Check if a number is prime

Solved 5671 times.

  • Training
New

Print every prime numbers in a range

Solved 3984 times.

  • Training
New

Sum of every prime number below n

Solved 4156 times.

  • Training
New

Next prime

Solved 3039 times.

  • Training
New

Display the date and time

Solved 4484 times.

  • Training
New

The Fibonacci sequence

Solved 2121 times.

  • Training
New

Exceptions

Solved 1824 times.

  • Training
  • Command line
New

Flatten lists

Solved 1370 times.

  • Training
New

Print the content of a file

Solved 1638 times.

  • Training
New

Adam Number

Solved 708 times.

  • Training
New

Product of iterable

Solved 1679 times.

  • Training
New

Frequency of letters in a file

Solved 1015 times.

  • Training
New

Pernicious numbers

Solved 983 times.

  • Training
New

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

Solved 1355 times.

  • Training
New

Largest product in a series

Solved 887 times.

  • Training
New

Doing HTTP requests

Solved 867 times.

  • Training
New

Consecutive Sum

Solved 423 times.

  • Training
New

Longest Collatz sequence

Solved 910 times.

  • Training
New

Simple adder

Solved 1741 times.

  • Training
  • Command line
New

Lambda expressions

Solved 741 times.

  • Training
New

Largest product in a grid

Solved 530 times.

  • Training
New

Pascal's triangle

Solved 390 times.

  • Training
New

CSV and Python

Solved 312 times.

  • Training