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

  • Basics
  • Training
New

Multiples of 3 and 5

Solved 15450 times.

  • Basics
  • Training
New

Print every two letters pairs

Solved 12569 times.

  • Basics
  • Training
New

Print every pair of distinct letters

Solved 11755 times.

  • Basics
  • Training
New

Distance

Solved 8957 times.

  • Training
New

Is divisible by ?

Solved 3972 times.

  • Training
New

Check if a number is prime

Solved 6483 times.

  • Training
New

Print every prime numbers in a range

Solved 4565 times.

  • Training
New

Sum of every prime number below n

Solved 4669 times.

  • Training
New

Next prime

Solved 3474 times.

  • Training
New

Display the date and time

Solved 4899 times.

  • Training
New

The Fibonacci sequence

Solved 2356 times.

  • Training
New

Exceptions

Solved 2002 times.

  • Training
  • Command line
New

Flatten lists

Solved 1504 times.

  • Training
New

Print the content of a file

Solved 1756 times.

  • Training
New

Adam Number

Solved 849 times.

  • Training
New

Product of iterable

Solved 1816 times.

  • Training
New

Frequency of letters in a file

Solved 1091 times.

  • Training
New

Pernicious numbers

Solved 1051 times.

  • Training
New

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

Solved 1439 times.

  • Training
New

Largest product in a series

Solved 948 times.

  • Training
New

Doing HTTP requests

Solved 931 times.

  • Training
New

Consecutive Sum

Solved 502 times.

  • Training
New

Longest Collatz sequence

Solved 971 times.

  • Training
New

Simple adder

Solved 1804 times.

  • Training
  • Command line
New

Lambda expressions

Solved 786 times.

  • Training
New

Largest product in a grid

Solved 568 times.

  • Training
New

Pascal's triangle

Solved 417 times.

  • Training
New

CSV and Python

Solved 336 times.

  • Training