Beautiful is better than ugly.

In the face of ambiguity, refuse the temptation to guess.

— The Zen of Python, by Tim Peters

  Hello World Solved by 30853 Basics
  Print 42 Solved by 30516 Basics
  Number of seconds in a year Solved by 21648 Basics
  Using operators Solved by 24189 Basics
  Characters counting Solved by 23635 Basics
  Fix the indentation Solved by 14947 Basics
  Square numbers Solved by 16658 Basics
  Powers of two Solved by 19822 Basics
  Import Solved by 17365 Basics
  Comparisons Solved by 17467 Basics
  Counting Words Solved by 15222 Basics
  Fix is_anagram Solved by 4825 Basics
  First function Solved by 12306 Basics
  Print even numbers Solved by 12469 Basics
  Sum of even numbers <= 100 Solved by 11768 Training Basics
  Multiples of 3 and 5 Solved by 10631 Training Basics
  Temperatures Solved by 9145 Realist Basics
  Print every two letters pairs Solved by 8413 Training Basics
  Print every pair of distinct letters Solved by 7785 Training Basics
  Longest word Solved by 6925 Realist
  Print sorbet flavors Solved by 6019 Realist
  Distance Solved by 5578 Training
  Sets of love Solved by 3837 Realist
  Check if a number is prime Solved by 3793 Training
  Sort students Solved by 3371 Realist
  Select students Solved by 1879 Realist
  Print every prime numbers in a range Solved by 2602 Training
  Sum of every prime number below n Solved by 2940 Training
  Next prime Solved by 2072 Training
  Reverse Roman Numerals Solved by 1909 Realist
  Display the date and time Solved by 3514 Training
  The missing card Solved by 1501 Realist
  Friday the 13th Solved by 1278 Realist
  Playing with anagrams Solved by 859 Realist
  The Fibonacci sequence Solved by 1568 Training
  Currency Solved by 835 Realist
  Perfect deck shuffle Solved by 961 Realist
  Flatten lists Solved by 1022 Training
  Exceptions Solved by 1441 Training
  Print the content of a file Solved by 1320 Training
  Is divisible by ? Solved by 1373 Training
  Adam Number Solved by 335 Training
  Product of iterable Solved by 1308 Training
  Print battery charge Solved by 807 Realist
  Draw N Squares Solved by 730 Realist
  Dyck words Solved by 328 Realist
  Hearts emojis Solved by 697 Realist
  Frequency of letters in a file Solved by 808 Training
  Pernicious numbers Solved by 792 Training
  Count the lower 'e' in the 'words' file Solved by 1139 Training
  Caesar Cypher Solved by 500 Realist
  Print parameters Solved by 2288 Basics Command line
  Student class Solved by 752 Realist
  Largest product in a series Solved by 692 Training
  Format your output Solved by 600 Realist
  Doing HTTP requests Solved by 719 Training
  Break a safe Solved by 538 Realist
  Longest Collatz sequence Solved by 699 Training
  Print the first parameter Solved by 1653 Basics Command line
  Simple adder Solved by 1592 Training Command line
  Roman Numerals Solved by 456 Realist
  Text framing Solved by 394 Realist
  Consecutive Sum Solved by 226 Training
  Calculator Solved by 576 Realist Command line
  Lambda expressions Solved by 613 Training
  Largest product in a grid Solved by 427 Training
  Password Generator Solved by 457 Realist
  Side by side Solved by 359 Realist
  Change for 42€ Solved by 194 Realist
  Sequence Mining Solved by 157 Realist
  Temperature class Solved by 353 Realist
  Magic Square Solved by 13 Realist
  Pascal's triangle Solved by 322 Training
  Restaurant menu Solved by 198 Realist
  IRC logs as CSV Solved by 98 Realist
  Abelian sandpiles Solved by 178 Realist Numpy
  CSV and Python Solved by 264 Training
  Elementary cellular automaton Solved by 163 Realist
  bencode, bdecode Solved by 173 Realist
  Fir tree Solved by 140 Command line Realist
  Dirichlet solver Solved by 74 Numpy
  Py Master Mind Solved by 248 Realist
  Make your own 2048 in Python! Solved by 103 Numpy
  Need more exercises ? Solved by 5 Realist