ℹ️ I'd like to upgrade HackInScience logo, maybe change the name and enhance the design. You have the skills and want to help? Shoot me an email: julien at python dot org

Python — Basics

  1. Hello World Solved by 11701
  2. Print 42 Solved by 11546
  3. Number of seconds in a year Solved by 3386
  4. Using operators Solved by 6617
  5. Characters counting Solved by 8367
  6. Square numbers Solved by 2746
  7. Powers of two Solved by 6884
  8. Comparisons Solved by 6013
  9. Import Solved by 5424
  10. Counting Words Solved by 4987
  11. First function Solved by 3557
  12. Print even numbers Solved by 4238
  13. Sum of even numbers <= 100 Solved by 3785
  14. Multiples of 3 and 5 Solved by 3415
  15. Temperatures Solved by 2409
  16. Print every two letters pairs Solved by 2297
  17. Print every pair of distinct letters Solved by 2320

Python — Realist

  1. Longest word Solved by 1975
  2. Print sorbet flavors Solved by 1812
  3. Sets of love Solved by 942
  4. Sort students Solved by 865
  5. Reverse Roman Numerals Solved by 503
  6. Select students Solved by 595
  7. Friday the 13th Solved by 393
  8. The missing card Solved by 423
  9. Playing with anagrams Solved by 173
  10. Currency Solved by 124
  11. Flatten lists Solved by 365
  12. Perfect deck shuffle Solved by 328
  13. Hearts emojis Solved by 269
  14. Text framing Solved by 73
  15. Draw N Squares Solved by 258
  16. Student class Solved by 267
  17. Print battery charge Solved by 286
  18. Side by side Solved by 141
  19. Format your output Solved by 234
  20. Roman Numerals Solved by 179
  21. Caesar Cypher Solved by 165
  22. Break a safe Solved by 178
  23. Password Generator Solved by 160
  24. bencode / bdecode Solved by 67
  25. Py Master Mind Solved by 86
  26. Elementary cellular automaton Solved by 61
  27. Temperature class Solved by 121
  28. Sequence Mining Solved by 51
  29. Change for 42€ Solved by 53
  30. IRC logs as CSV Solved by 32
  31. Need more exercises ? Solved by 0

Python — Command line

  1. Print parameters Solved by 1151
  2. Print the first parameter Solved by 844
  3. my add Solved by 817
  4. Calculator Solved by 275
  5. Sapin Solved by 47

Python and Numpy

  1. Abelian sandpiles Solved by 60
  2. Make your own 2048 in Python ! Solved by 35
  3. Dirichlet solver Solved by 27