But my favourite[0] was Write Your Own Adventure Programs, which taught data driven programming and text parsing.
Thanks for sharing this, it's getting my creative engines going for what to do TODAY that would be fun and engaging for my daughter. :)
Loved them and they really did spark an interest in taking music and computing more seriously.
Still think my comment applies: they need to be updated for a modern platform (not Python).
I can't really think of a suitable one TBH; Python's completely out of the running, Java and C# have a lot of unnecessary (for this goal) boilerplate, Pascal is not a bad choice.
Maybe Javascript? The books can then instruct "type this into an HTML file".
In my mind, a more modern platform would be a simulated one that has its own machine language (byte-code compiled, perhaps) so that these books, which take you all the way into machine language, would make sense.
Not for the book type format - the kids will be typing the code in, not copying + pasting them.
Significant whitespace is a killer in printed form; so Python is not even in the running.
And page 23 teaches you about significant whitespace, and how to configure several text editors that a kid's likely to have available to actually show it like that. Heck, I use Panic's Nova for my text editing and it does that out of the box with no configuration needed.
I don't think you actually used those books :-/
No one linearly writes code, from the start of the file to the end; they edit it. They move blocks around if they missed a page, they navigate around putting in missing if statements and removing incorrectly-added loops. Those programs were very much not one-and-done, they were heavily modified by the kids.
Your proposal of "Tell them to configure their editor for Python" and "add in unicode symbols to represent whitespace" is the exact opposite of what those books were about.
The books were about removing superfluous barriers, not adding them! Using Python would result in a whole lot of incidental complexity for literally no gain.
Education has already chosen Python as the preferred language for this sort of thing. It has some unfortunate bits, but it's certainly a more ergonomic language than BASIC. Counting tabs is less arduous than messing with line numbers and GOSUB.