Introduction to Computer Science with Python

Computational Thinking for the AI Era

First Edition


An Open Educational Resource


This textbook is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC-BY-SA-4.0). You are free to share, copy, redistribute, adapt, remix, and build upon this material for any purpose, including commercial use, provided you give appropriate attribution and distribute any derivative works under the same license.

Full license text: https://creativecommons.org/licenses/by-sa/4.0/


Drafted with AI assistance, then revised and fact-checked in multiple review passes, with the code examples run and tested. Corrections are welcome.

Copyright 2026. Published as an Open Educational Resource.