Without a book? I can't imagine trying to learn Commodore BASIC on a machine that can't multitask, can barely self-document and lacks proper erroring.
replies(2):
It could even automatically LIST and then RUN the program for you.
To avoid annoying the user, the program should just compute something, print the result, and exit without requiring any user input.
You could even have a collection of short programs in ROM, with one randomly selected each time the C64 starts up.
Do you think this would have encouraged more users to learn BASIC programming?