I just gave my 10yo son his first Python challenge: Count the F's in the following sentence:
FINISHED FILES ARE THE RESULT
OF YEARS OF SCIENTIFIC
STUDY COMBINED WITH
THE EXPERIENCE OF YEARS.
He doesn't know the first thing about interactive shells or variables. I'll get him started with that, he'll learn about strings, and that strings have methods like count(). Then he may learn about cases and eventually he'll learn that something cool about programs is that they'll get the answer right even when our own heads get it wrong.
FINISHED FILES ARE THE RESULT
OF YEARS OF SCIENTIFIC
STUDY COMBINED WITH
THE EXPERIENCE OF YEARS.
He doesn't know the first thing about interactive shells or variables. I'll get him started with that, he'll learn about strings, and that strings have methods like count(). Then he may learn about cases and eventually he'll learn that something cool about programs is that they'll get the answer right even when our own heads get it wrong.