Topic Practice · Functions
Modules & the Standard Library problems
50 problems: 22 Easy, 18 Medium, 10 Hard.
✓1. Square Root
4 test casesEasy✓2. Ceil and Floor
4 test casesEasy✓3. GCD and LCM
4 test casesEasy✓4. math.factorial
4 test casesEasy✓5. Using math.pi
4 test casesEasy✓6. Top Letters
4 test casesEasy✓7. Import With a Nickname
4 test casesEasy✓8. Whole Square Root
4 test casesEasy✓9. Pretty Date
4 test casesEasy✓10. Pieces of a File Path
4 test casesEasy✓11. math.pow
4 test casesEasy✓12. Absolute Value With math
4 test casesEasy✓13. Seeded Choice
4 test casesEasy✓14. Degrees to Radians
4 test casesEasy✓15. The Alphabet From a Module
4 test casesEasy✓16. Close Enough?
4 test casesEasy✓17. Hours and Minutes With divmod
4 test casesEasy✓18. Round Toward Zero
4 test casesEasy✓19. Year, Month, Day
4 test casesEasy✓20. Strip the Punctuation
4 test casesEasy✓21. math.hypot
4 test casesEasy✓22. Digits With log10
4 test casesEasy✓23. Mean, Median, Mode
4 test casesMedium✓24. Days Between Dates
4 test casesMedium✓25. Day of the Week
4 test casesMedium✓26. Add Days
4 test casesMedium✓27. Choose Teams
4 test casesMedium✓28. Count Arrangements
4 test casesMedium✓29. Repeatable Dice
4 test casesMedium✓30. Group Words
4 test casesMedium✓31. Chain Several Lists
4 test casesMedium✓32. Letters Still Needed
4 test casesMedium✓33. Hours Between Two Moments
4 test casesMedium✓34. Exact Fractions
4 test casesMedium✓35. Running Maximum With itertools
4 test casesMedium✓36. A Row of Pascal's Triangle
4 test casesMedium✓37. Days in a Month With calendar
4 test casesMedium✓38. Age in Whole Years
4 test casesMedium✓39. Seeded Shuffle
4 test casesMedium✓40. Count File Extensions
4 test casesMedium✓41. Rotate with deque
4 test casesHard✓42. Alphabet Check
4 test casesHard✓43. Grid Coordinates
4 test casesHard✓44. Grades with bisect
4 test casesHard✓45. K Largest
4 test casesHard✓46. JSON
4 test casesHard✓47. Rounding Money Correctly
4 test casesHard✓48. How Many Fridays?
4 test casesHard✓49. How Many Rooms Are Needed?
4 test casesHard✓50. Working Days in Bangladesh
4 test casesHard
4 test casesEasy✓2. Ceil and Floor
4 test casesEasy✓3. GCD and LCM
4 test casesEasy✓4. math.factorial
4 test casesEasy✓5. Using math.pi
4 test casesEasy✓6. Top Letters
4 test casesEasy✓7. Import With a Nickname
4 test casesEasy✓8. Whole Square Root
4 test casesEasy✓9. Pretty Date
4 test casesEasy✓10. Pieces of a File Path
4 test casesEasy✓11. math.pow
4 test casesEasy✓12. Absolute Value With math
4 test casesEasy✓13. Seeded Choice
4 test casesEasy✓14. Degrees to Radians
4 test casesEasy✓15. The Alphabet From a Module
4 test casesEasy✓16. Close Enough?
4 test casesEasy✓17. Hours and Minutes With divmod
4 test casesEasy✓18. Round Toward Zero
4 test casesEasy✓19. Year, Month, Day
4 test casesEasy✓20. Strip the Punctuation
4 test casesEasy✓21. math.hypot
4 test casesEasy✓22. Digits With log10
4 test casesEasy✓23. Mean, Median, Mode
4 test casesMedium✓24. Days Between Dates
4 test casesMedium✓25. Day of the Week
4 test casesMedium✓26. Add Days
4 test casesMedium✓27. Choose Teams
4 test casesMedium✓28. Count Arrangements
4 test casesMedium✓29. Repeatable Dice
4 test casesMedium✓30. Group Words
4 test casesMedium✓31. Chain Several Lists
4 test casesMedium✓32. Letters Still Needed
4 test casesMedium✓33. Hours Between Two Moments
4 test casesMedium✓34. Exact Fractions
4 test casesMedium✓35. Running Maximum With itertools
4 test casesMedium✓36. A Row of Pascal's Triangle
4 test casesMedium✓37. Days in a Month With calendar
4 test casesMedium✓38. Age in Whole Years
4 test casesMedium✓39. Seeded Shuffle
4 test casesMedium✓40. Count File Extensions
4 test casesMedium✓41. Rotate with deque
4 test casesHard✓42. Alphabet Check
4 test casesHard✓43. Grid Coordinates
4 test casesHard✓44. Grades with bisect
4 test casesHard✓45. K Largest
4 test casesHard✓46. JSON
4 test casesHard✓47. Rounding Money Correctly
4 test casesHard✓48. How Many Fridays?
4 test casesHard✓49. How Many Rooms Are Needed?
4 test casesHard✓50. Working Days in Bangladesh
4 test casesHard