Learn Python through Nursery Rhymes and Fairy Tales: 

Classic Stories Translated into Python Programs

ISBNs: 978-1-7359079-8-7 (paperback), 978-1-7359079-6-3 (hardcover)

Order Now

International

Python Fairy Tales Front Cover zoomed in
Python Fairy Tales Back Cover zoomed in.jpg

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! For kids and adults alike.

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!

Humpty Dumptyyyyy.png
Image by Samson
Open book.png

Enjoy a fun and engaging format

Classic nursery rhymes and fairy tales are brought into the 21st century as logical computer programs alongside beautiful full-page illustrations.

Run the programs on your computer 

Use this book interactively and see the nursery rhyme and fairy tale text printed out on the screen. Change the code to change the stories!

Red Riding Hood coder cropped.jpg
Muffin Man printed.png
Connecting Dots

Learn Python quickly

Each program demonstrates one or more new Python programming concepts and has an easy to understand, detailed code explanation below it.  

Princess and the Pea open book graphic.jpg
Jack and the Beanstalk open book graphic.jpg
Image by Marita Kavelashvili

Editorial Reviews

"This book provides new programmers with a unique approach to learning how to program. Through the use of well-known nursery rhymes and fairy tales, the reader is led through learning introductory to advanced programming topics by building on previous topics. Learning how to output to the user through "Row, Row, Row Your Boat" to conditional statements with "Humpty Dumpty" and functions with "Little Red Riding Hood," the reader is able to apply programming concepts to songs and stories they already know. This book shows that programming is a tool that can be incorporated into the learning and advancement of any topic and that it truly is an interdisciplinary field." — Jeffrey Miller, Dean of Engineering and Computational Sciences at Southern Utah University
 

"Learn Python Through Nursery Rhymes and Fairy Tales does a wonderful job teaching important coding concepts. As a computer science teacher, I love how it takes beautifully illustrated rhymes and stories with which readers are familiar and introduces basic and then more advanced coding as you progress through the book. Learning to code in Python has never been more fun." — Michael Knight, High School Computer Science Teacher and GeekDad Contributor
 

“The combination of the fairy tale–style narration and boisterous artwork works extremely well, as it completely removes the tedium that often accompanies computer programming instruction for kids. There’s no denying the importance of getting across the basics of coding to youngsters, and it’s hard to imagine a more engaging, and therefore effective, vehicle for that education. A brightly inventive children’s introduction to a widely used programming language.” — Kirkus Reviews (starred review)