Teach Your Kids to Code: Learn Python Programming at Any Age

Short, colorful apps and games you & your child can program right away, for ages 5 to 95! PC, Mac and Linux!
4.6 (214 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
3,727 students enrolled Bestselling in Kids
50% off
Take This Course
  • Lectures 110
  • Length 7.5 hours
  • Skill Level All Levels
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 7/2015 English Closed captions available

Course Description

***** Join over 3,600 students from 137 countries learning Python the quick, fun, and easy way (and teaching their kids)! *****

Two new BONUS videos added! Teach yourself (and your kids) to code fun, colorful apps and games in Python, the powerful programming language used at tech companies and in colleges worldwide. Learn coding step-by-step from Computer Science Professor Dr. Bryson Payne, author of the Amazon #1 New Release and Top 10 Best Seller in Children's Programming Books, Teach Your Kids to Code: A Parent-Friendly Guide to Python Programming (2015, No Starch Press).

Give Your Kids a Huge Advantage in a High-Tech World

  • Quickly master new problem-solving skills in Python with colorful, fun examples
  • Teach younger kids to code using Turtle graphics, with text-based games and apps for older learners
  • Build your own playable games and create beautiful graphics
  • Learn the basics of coding, from variables to loops and functions, with interactive, engaging apps

This is the kind of course you can enjoy with
your kids!

Packed with fun examples, colorful graphics, and easy-to-follow plain English instruction, Teach Your Kids to Code is the course parents and kids, teachers and students can enjoy together, as they build one of the top job skills of the 21st century! Python is a great first language for beginners, but it's powerful enough to be used in companies from Google to IBM.

I designed this programming course to be easily understood by absolute beginners, with example code I used with my own pre-schoolers all the way through the apps I teach to college freshmen.

Quick, two- to eight-minute lessons will get you coding your own apps from scratch in minutes. Over 100 video lectures and 7.5 hours of content will give you the practice you need to master the powerful new skill of coding.

Everything you need to get started right away

Complete with working code downloads and high-definition videos, you'll be able to work alongside a professor with 18 years' teaching experience and over 30 years of programming knowledge. You'll also receive a Certificate of Completion upon finishing the course.

No Risk: Preview videos from Sections 1, 2, and 4 now for FREE, and enjoy a 30-day money-back guarantee when you enroll - zero risk, unlimited payoff! And, we've made this course easy to afford at just $30 so parents and students can get started now!

Sign up for this course and get started coding today!

* Programming Challenge Solutions added to all 7 Sections, plus new Bonus videos, including a new one with my 7-year-old son, Alex! New Turtle Gallery code and Bonus Q&A video added this month- keep the feedback and questions coming! Thanks! *

Praise for Teach Your Kids to Code:

★★★★★ "Inspired" - This is an inspiring course taught by an inspired teacher. The examples are well-chosen -- demonstrating principles through engaging, colorful projects rather than by teaching abstract principles first. While I wish the instructor weren't quite so repetitiously exuberant, this is at worst a minor stylistic blemish and might even be a plus for kids viewing it. — Kent Osband, Udemy student

★★★★★ "Excellent path into Python" Not just for kids...use this course as the perfect Python primer. Clear examples, that build quickly into programs, leading to learning challenges. Bryson's delivery is well paced and good fun. — Sean Jon Darcy, Udemy student

★★★★★“Dr. Bryson Payne is a computer scientist and professor of the highest caliber, and with Teach Your Kids to Code, he brings the power of computers within easy reach for learners young and old."—Dr. Antonio Sanz Montemayor, Informatics Professor, Universidad Rey Juan Carlos, Spain

★★★★★“The concepts in Teach Your Kids to Code can help any young person enhance their college prospects and expand their career opportunities."—Dr. Raj Sunderraman, Department Chair of Computer Science, Georgia State University

[For the Book version on Amazon] ★★★★★ “Dr. Payne set us on the path that led us to our dream jobs! With Teach Your Kids to Code, he's providing parents and teachers everywhere the chance to do the same for the next generation of creative problem-solvers."—Shah and Susan Rahman, Riot Games 

What are the requirements?

  • A computer (PC, Mac, or Linux - even Raspberry Pi!). You'll download and install Python 3 (FREE!) with step-by-step instructions in Section 1.
  • If you can use a text editor (Notepad, Word, etc.), you can program in Python!
  • No prior programming experience needed.

What am I going to get from this course?

  • Code your own apps and games in Python for Mac, PC, or Linux, from pre-K to college level
  • Draw colorful spirals and shapes with Turtle graphics in Python
  • Create fun, playable games like War, Yahtzee, and Rock-Paper-Scissors
  • Build interactive apps that respond to user input and mouse clicks
  • Master variables, loops and functions to prepare for more advanced programming courses (and a brighter future)!

Who is the target audience?

  • Perfect for homeschooling parents or K-12 parents and teachers who want to give their students a HUGE advantage by learning to read and write code.
  • Apps and games suitable for kids from Pre-K through College Freshmen.
  • Kids can follow the course by themselves from 3rd grade through college age, but you can introduce children as early as preschool. (I started coding with my kids when they were 2 and 4 years old.)
  • Includes examples from chapters 1-7 of the book, Teach Your Kids to Code, by Dr. Bryson Payne (2015, No Starch Press).
  • This online course does not include Pygame programming.
  • This course is not for experienced Python coders, unless you want to learn to make beautiful Turtle graphics & games, or code with your kids.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Getting to Know Your (Programming) Environment

What is coding, and why is it good for your kids? Plus, how to get the most from this course.


How to download and install the FREE Python programming environment step-by-step


Bonus Q&A Video: Students AJ & Paula asked for a video showing Python installation on Windows and whether the newer Python 3.5 would work for all the lessons in the book and online course - this video answers both questions (spoiler alert, it's a YES!) - thank you, AJ & Paula, for posting great questions!


Write and save your first Python program.


Run Python programs, and change them to make them even cooler!


Run and modify a fun, visual program that draws a multi-color spiral.


By the end of Section 1, you should:

  • Have a fully functional Python environment and text editor (IDLE)
  • Be able to enter programming commands directly into the Python Shell
  • Be able to write, save, run and modify short Python programs in IDLE
  • Be ready to try more advanced programs in Section 2

The simple YourName.py app has all the necessary components for us to build a much more interesting program, like the old-fashioned Mad Libs® word games.

Try the challenge problems at the end of each section to extend your learning even further, and write code that's even cooler!

1 page

At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.

21 pages

Quick, clear how-to for installing Python on PC, Mac or Linux, with screenshots!

Section 2: Turtle Graphics in Python

Introduction to Turtle graphics in Python, and an overview of what you'll learn in Section 2.


Write a 5-line Turtle program in Python from scratch! Draws a hypnotizing square spiral on your screen!


Change your program to make it even cooler! Modify the square spiral to draw a winding spiral staircase/pyramid shape!


Use the circle() function in Python's Turtle graphics to draw circles of varying sizes for a cool pattern!


Add color to your turtle creations using the pencolor() function.


Use a list of colors to paint a four-color square spiral!


Change the background color of your turtle screen by using turtle.bgcolor().


Store a simple number value in a variable and use it in a program to change shapes easily.

2 pages
At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.

Challenge 1 Color Spiral 10

Challenge 2 Color Spiral Choice
Challenge 3 Rubber Band Ball
Section 3: Numbers and Variables in Python

An introduction to variables in Python, and an overview of what you'll learn in Section 3.


Create your own variables using strings, and store user input in string variables.


Use basic math operators in Python to perform calculations.


Perform math operations using the Python Shell.


Understand and correct syntax errors - when your computer can't understand you in Python.


Use variables to store numbers and perform calculations in the command-line Python Shell.


Write a program using Python math operators to figure out the total cost of a pizza order, including sales tax.


Write a program that stores strings of text as variables, and says your name on the screen 100 times!


Write colorful text on the Turtle screen, and create a multicolor spiral of your name!


Store values in a list or array, and use a list of colors to draw in a colorful pattern on the screen.


Let Python do your Math homework! Ask for input, evaluate expressions, and do a variety of math functions interactively in your own program!

1 page
At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.
Challenge 1 Circle Spiral Input
Challenge 2 Color Me Spiralled
Section 4: Loops

Introduction to loops in Python, and an overview of what you'll learn in Section 4.


Learn to code faster and cleaner using loops to repeat a set of statements as many times as you wish!


Build your own for loop from scratch to create a beautiful rosette shape with four circles!


Modify a for loop to draw rosettes with 6 and 10 circles each!


Ask the user for input using GUI windows in Turtle! Let the user decide how many circles to draw on the screen!


A colorful bonus program from my oldest son, Alex (he was 5 when he came up with this!). Draws two sets of overlapping rosettes in red and yellow on a black background.


Create your own while loop to repeat while a condition is True or until the condition is False.


Build a colorful spiral using the names of everyone in your family! Create empty lists and add to lists using the append() function in Python.


Draw a psychedelic spiral of spirals using nested loops (a loop inside another loop)!

2 pages
At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.
Spiral Rosettes
Challenge 2 Viral Family Spiral
Section 5: Conditions

Introduction to conditional expressions in Python, and an overview of what you'll learn in Section 6.


Use an if statement to make decisions using conditional expressions.


Use conditionals and Boolean expressions to control program flow.


Write conditional expressions using comparison operators (<, >, ==, !=, <=, >=) in Python.


Use if-else statements to choose between two alternative program paths.


Use conditionals and user input to let the user decide what shapes to draw!


Test a variable to see if it is odd or even using the modulo operator, %. Draw a picture with different odd and even shapes!


Write if-elif-else statements that select from among a number of options.


Use and and or to test multiple conditions at once.


Learn to manipulate strings using .upper() and .lower(), and use ord() and chr() to convert characters into their ASCII numeric equivalents and back again!


Build your own secret message encoder-decoder program to send secret messages to your friends!

2 pages
At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.

Challenge 1 Rosettes And Spirals


Challenge 2 Encoder Decoder with a Custom Key

Section 6: Random Fun and Games

An introduction to the random module in Python, and an overview of what you'll learn in Section 6


Build a high-low guessing game to guess a random number between 1 and 10, or 1 and 100!


Pick a random color from a list in Python.


Get the size of the turtle screen, and understand turtle (x,y) coordinates.


Wow! Create 50 (or more!) spirals of random colors and sizes at random locations all over your screen to create a beautiful picture and understand random functions!


Build a complete Rock-Paper-Scissors game to play against the computer, using the random module in Python!


Learn to create a playing card from a standard deck, complete with a face ("Two" through "Ace") and suit (clubs, diamonds, hearts, spades).


Compare the value of two cards by using the .index() function.


Use a while loop and input to create a game loop that asks the user whether they'd like to play again.


A fun, playable random High Card game, just like the children's card game War!


Learn to simulate the rolling of dice using the random module in Python.


Sort items in a list with the .sort() function, and test for a Yahtzee! in our dice program.


A complete Yahtzee-like program that tells whether you rolled three, four, or five-of-a-kind! Yahtzee!


Move the turtle to random locations, and understand coordinate reflections across the x and y axes.

2 pages
At the end of each section, you can practice what you've learned - and make even cooler programs - by trying a couple of challenges. Try them on your own, and if you get stuck, sample answers are provided.

Challenge 1 Kaleidoscope v2


Challenge 2 Kaleidoscope v3


Challenge 3 War Complete

Section 7: Functions

An introduction to functions in Python, and what you'll learn in Section 7


Learn to group code into reusable functions


Define and call your own functions in Python


Pass information to your functions to make them more powerful.


Demonstrate functions with parameters by building a cool random smiley app.


The finished random smiley app - a function that takes parameters to draw smiley faces all over the screen :).


Learn to return a value from a function.


Build a cool Ping-Pong calculator to find out your height and weight in Ping-Pong balls!!!


Create your own interactive drawing program by listening for mouse clicks on the screen!


A beautiful upgrade to the Turtle Draw app, with full color and more extras!


Build your own Etch-a-Sketch in Python by listening for key presses in your drawing app!


Draw a colorful random spiral wherever the user clicks their mouse!


Draw a smiley face stamp wherever the mouse is clicked!

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Dr. Bryson Payne, Best-Selling Author & Professor w/students in 143 countries

Dr. Bryson Payne is the author of the Amazon #1 New Release and Top 10 Best Selling children's programming book, Teach Your Kids to Code: A parent-friendly guide to Python programming, (2015 - third printing, translated into five languages) and the forthcoming book, Fun with Java (2017), both from No Starch Press. He is a tenured full Professor of Computer Science at the University of North Georgia, and is a Certified Information Systems Security Professional (CISSP®) and Certified Ethical Hacker (CEH). Dr. Payne is also the Director of the Center for Cyber Operations Education at UNG, and a MOOC (massive, open, online course) instructor with over 12,500 students to his credit, from 143 countries.

Dr. Payne has taught computer science since 1998 and served as the University's first Department Head of Computer Science. He earned his Ph.D. in computer science from Georgia State University and has published articles in scholarly and industry journals, in addition to speaking regularly at regional and international conferences in computer science, cybersecurity and IT leadership. He has been featured in CIO magazine, Campus Technology, and the Wall Street Journal.

Dr. Payne has been programming computers for over 30 years; he sold his first paid program to RUN Magazine (Commodore 64) for their “Magic" column in 1985, for $10. In addition to his affinity for technology, Dr. Payne speaks Spanish and French, and is conversational in Russian and Mandarin Chinese.

He lives north of Atlanta, Georgia (USA) with his lovely wife Bev, two sons, Alex and Max, and three Bengal cats, Leo, Rocky and Pixel.

Ready to start learning?
Take This Course