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 30778 | Basics | |
Print 42 | Solved by 30439 | Basics | |
Number of seconds in a year | Solved by 21574 | Basics | |
Using operators | Solved by 24116 | Basics | |
Characters counting | Solved by 23569 | Basics | |
Fix the indentation | Solved by 14877 | Basics | |
Square numbers | Solved by 16595 | Basics | |
Powers of two | Solved by 19763 | Basics | |
Import | Solved by 17307 | Basics | |
Comparisons | Solved by 17408 | Basics | |
Counting Words | Solved by 15165 | Basics | |
Fix is_anagram | Solved by 4775 | Basics | |
First function | Solved by 12256 | Basics | |
Print even numbers | Solved by 12423 | Basics | |
Sum of even numbers <= 100 | Solved by 11723 | Training Basics | |
Multiples of 3 and 5 | Solved by 10586 | Training Basics | |
Temperatures | Solved by 9102 | Realist Basics | |
Print every two letters pairs | Solved by 8374 | Training Basics | |
Print every pair of distinct letters | Solved by 7745 | Training Basics | |
Longest word | Solved by 6890 | Realist | |
Print sorbet flavors | Solved by 5990 | Realist | |
Distance | Solved by 5544 | Training | |
Sets of love | Solved by 3817 | Realist | |
Check if a number is prime | Solved by 3767 | Training | |
Sort students | Solved by 3352 | Realist | |
Select students | Solved by 1865 | Realist | |
Print every prime numbers in a range | Solved by 2587 | Training | |
Sum of every prime number below n | Solved by 2926 | Training | |
Next prime | Solved by 2061 | Training | |
Reverse Roman Numerals | Solved by 1899 | Realist | |
Display the date and time | Solved by 3502 | Training | |
The missing card | Solved by 1492 | Realist | |
Friday the 13th | Solved by 1272 | Realist | |
Playing with anagrams | Solved by 855 | Realist | |
The Fibonacci sequence | Solved by 1562 | Training | |
Currency | Solved by 833 | Realist | |
Perfect deck shuffle | Solved by 958 | Realist | |
Flatten lists | Solved by 1017 | Training | |
Exceptions | Solved by 1439 | Training | |
Print the content of a file | Solved by 1316 | Training | |
Is divisible by ? | Solved by 1370 | Training | |
Adam Number | Solved by 332 | Training | |
Product of iterable | Solved by 1305 | Training | |
Print battery charge | Solved by 803 | Realist | |
Draw N Squares | Solved by 725 | Realist | |
Dyck words | Solved by 327 | Realist | |
Hearts emojis | Solved by 697 | Realist | |
Frequency of letters in a file | Solved by 807 | Training | |
Pernicious numbers | Solved by 791 | Training | |
Count the lower 'e' in the 'words' file | Solved by 1138 | Training | |
Caesar Cypher | Solved by 498 | Realist | |
Print parameters | Solved by 2286 | Basics Command line | |
Student class | Solved by 751 | Realist | |
Largest product in a series | Solved by 690 | Training | |
Format your output | Solved by 598 | Realist | |
Doing HTTP requests | Solved by 719 | Training | |
Break a safe | Solved by 538 | Realist | |
Longest Collatz sequence | Solved by 698 | Training | |
Print the first parameter | Solved by 1652 | Basics Command line | |
Simple adder | Solved by 1590 | Training Command line | |
Roman Numerals | Solved by 456 | Realist | |
Text framing | Solved by 394 | Realist | |
Calculator | Solved by 574 | Realist Command line | |
Consecutive Sum | Solved by 223 | Training | |
Lambda expressions | Solved by 612 | Training | |
Largest product in a grid | Solved by 426 | Training | |
Password Generator | Solved by 456 | 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 |