Here are my solutions for the book Python Programming Exercises, Gently Explained by Al Sweigart. The solutions are tested with the help of pytest, which I'm learning how to use. Furthermore, I also add type hints to my solutions.
2. Exercise #2: Temperature Conversion
6. Exercise #6: Ordinal Suffix
8. Exercise #8: Read Write File
9. Exercise #9: Chess Square Color
10. Exercise #10: Find and Replace
11. Exercise #11: Hours, Minutes, Seconds
12. Exercise #12: Smallest & Biggest
13. Exercise #13: Sum & Product
18. Exercise #18: Buy 8 Get 1 Free
19. Exercise #19: Password Generator
21. Exercise #21: Validate Date
22. Exercise #22: Rock, Paper, Scissors
23. Exercise #23: 99 Bottles of Beer
24. Exercise #24: Every 15 Minutes
25. Exercise #25: Multiplication Table
27. Exercise #27: Rectangle Drawing
28. Exercise #28: Border Drawing
29. Exercise #29: Pyramid Drawing
30. Exercise #30: 3D Box Drawing
31. Exercise #31: Convert Integers To Strings
32. Exercise #32: Convert Strings To Integers
33. Exercise #33: Comma-Formatted Numbers
34. Exercise #34: Uppercase Letters
36. Exercise #36: Reverse String
37. Exercise #37: Change Maker
38. Exercise #38: Random Shuffle
39. Exercise #39: Collatz Sequence
40. Exercise #40: Merging Two Sorted Lists