Book and code for Think Complexity, 2nd edition
Think Complexity is an introduction to complexity science using Python. The premise of this book (and the other books in the Think X series) is that if you know how to program, you can use that skill to learn other things.
The second edition is published by O’Reilly Media. You can also order it from Amazon.
Other Free Books by Allen Downey are available from Green Tea Press.
I offer a half-day tutorial based on material from Think Complexity. Information about the tutorial is here.
For each chapter, there is a Jupyter notebook in this repository that contains the code from the chapter, exercises, and (optionally) exercise solutions. You can download the notebooks and run them in your own Python environment, or you can use the links below to run them on Colab.
Chapter 2: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 3: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 4: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 5: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 6: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 7: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 8: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 9: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 10: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 11: Run the notebook with no solutions or
Run the notebook with solutions
Chapter 12: Run the notebook with no solutions or
Run the notebook with solutions