Think Python: How to Think Like a Computer Scientist - Allen B. Downey
This revised third edition reflects the growing role of large language models (LLMs) in programming and includes exercises on effective LLM prompts, testing code, and debugging skills.