October 2025
Intermediate to advanced
304 pages
5h 36m
English
This is for those of you who want to learn about using Python and its modern constructs. You might have just switched to Python due to everyone using it because of AI, or maybe you’re fairly new to programming. Regardless, a hearty welcome; this appendix is for you. The goal with it is to make sure that when you read the other chapters, you understand all the constructs used and can use them to your benefit.
Even though Python doesn’t enforce types, it definitely benefits from them. Type hints can make your code more readable and help catch errors early.
Here’s some code without a type hint on adding a product to a basket:
basket = []
def add_product_to_basket(product ...Read now
Unlock full access