Interesting potential use case for AI: automatically rewrite the code in a book like this for python 3 vs 2. I know that’s not trivial, but seems like a very trainable use case
There are already Python 2 to Python 3 converters that don't use any AI. It's usually unnecessary.