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
We don't need to cram AI into every possible technical corner in existence. It shouldn't be the first solution suggested for every problem that arises.
There are already Python 2 to Python 3 converters that don't use any AI. It's usually unnecessary.