You can use Python 3.8 for all code in How to Think Like a Computer Scientist 3rd Edition (Using Python 3.x)
Python 3.8 is backward compatible for all Python 3.x version.
Only if using new features like like eg walrus operator Python 3.8 or f-string Python 3.6.
Then need to use that version or newer version for those new feature to work.
So lat say the used Python 3.4 for Think Like a Computer Scientist
Python 3.8 is backward compatible for all Python 3.x version.
Only if using new features like like eg walrus operator Python 3.8 or f-string Python 3.6.
Then need to use that version or newer version for those new feature to work.
So lat say the used Python 3.4 for Think Like a Computer Scientist
3rd Edition
,then all of that code will work for 3.8.