Close
0%
0%

Learn Python through Nursery Rhymes & Fairy Tales

Classic stories you know and love- translated into Python code!

Similar projects worth following
Learn Python programming basics quickly and delightfully with classic nursery rhymes and fairy tales like you've never seen them before- written as computer programs!

When you run this book's Python programs on your computer, you'll see the nursery rhymes and fairy tale stories printed out on your screen! As you turn the pages of this picture book, you will:

- Learn to code with your favorite nursery rhymes and fairy tales translated logically into Python programs
- Enjoy fifteen nursery rhymes and seven fairy tales written in both normal sentences and in Python code
- Be entertained by full-page, whimsical illustrations in premium color that accompany the code
- Gain the knowledge you need to write your own programs

Have fun learning to code through nursery rhymes and fairy tales retold for the 21st century. Get ready for storytime...and coding time!

It will be released on 5/24/22:
https://amzn.to/3xuJAqQ

Goldilocks code page sample.jpg

Sample code page from Goldilocks and the Three Bears

JPEG Image - 1.09 MB - 08/24/2021 at 18:08

Preview

Goldilocks illustration.jpg

Accompanying illustration

JPEG Image - 677.91 kB - 08/24/2021 at 18:08

Preview

Enjoy this project?

Share

Discussions

Cat wrote 04/23/2026 at 00:50 point

When my daughter was about 10+/-2, I gave her a computer and a book on how to make her own games in python. It worked!!! Today I told her I know what book I'll give her kids when they can read/write :-D Good work!

  Are you sure? yes | no

Cat wrote 04/22/2026 at 17:20 point

Great idea and quite nicely done, but within 5 minutes I found a mistake:

In Humpty, you say "because any 'if' condition evaluates to a boolean and does not need to be compared to True" when in fact the point is that "if" needs a boolean which is usually obtained from comparisons, but "humpty_on_wall" is already a boolean. The way you put it is that you compare the result of the 'if' with a boolean which would make the 'if' sort of "disappear" as already "used" in the operation before the comparison.

  Are you sure? yes | no

Shari wrote 04/22/2026 at 19:46 point

Thanks for your comment. My ordering is referring to the condition’s evaluation: humpty_on_wall stores True, so the if condition evaluates to True, and the block executes.

  Are you sure? yes | no

Cat wrote 04/23/2026 at 00:29 point

You group 'if' with humpty_on_wall then say it's not necessary to compare the result with "true". Whatever is AFTER the if is evaluated first, and indeed it doean't need a comparison because it's already boolean. Read it again :-)

The way to put it is that since humpty_on_wall IS already a boolean, (as opposed to the other variables which are strings therefore DO need to be compared)... of course; write it nicer; you do write nice :-)

  Are you sure? yes | no

luvajanuva wrote 08/25/2023 at 09:31 point

Nice idea for learning Python :) 
Very original!

  Are you sure? yes | no

Shari wrote 04/22/2026 at 19:46 point

Thank you! Sorry for the late response, I didn't see this!

  Are you sure? yes | no

mikehikers wrote 08/25/2023 at 09:11 point

Really interesting project!

  Are you sure? yes | no

Shari wrote 04/22/2026 at 19:47 point

Thank you so much! I apologize for the late response- I wasn't notified about this comment!

  Are you sure? yes | no

timforsythnz5 wrote 12/20/2022 at 18:57 point

Wow, looks fun! Is it for beginners? 

  Are you sure? yes | no

Shari wrote 04/22/2026 at 19:48 point

Thank you! Yes it's for beginners. :) I'm sorry to respond 4 years later...I wasn't sent a notification about this comment!

  Are you sure? yes | no

Does this project spark your interest?

Become a member to follow this project and never miss any updates