Teach Your Kids to Code: Learn Python Programming at Any Age
- 6 hours on-demand video
- 5 articles
- 12 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Code your own apps and games in Python 3.7 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)!
What is coding, and why is it good for your kids? Plus, how to get the most from this course.
How to install the NEW Python version 3.6 on a Mac.
How to install the NEW Python version 3.6 on Windows PC's.
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!
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.
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.
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!
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)!
Build a high-low guessing game to guess a random number between 1 and 10, or 1 and 100!
Dr. Payne's TEDx Talk on Coding and Cyber as the New Literacy, 15 min.
** New for August 2015: 100th Lesson BONUS Video with special guest star Alex Payne! **
Learn to use the official Python.org documentation to expand your Python programming abilities even after you finish this course. My special guest star, Alex (my 7-yr-old son), had a great idea for the Rosettes program from Section 4: let the user decide the number of circles in the rosette, and draw each circle in a different color, like a rainbow!
We'll see how to use Hue/Saturation/Value colors in Python to draw a different color circle at every angle around our beautiful RainbowRosettes.py app. You can search Python.org for new functions, modules and libraries like this to bring any idea to life!
Shot at home - Alex and I hope you'll love this special bonus video, the 100th lesson in the course! Happy coding!
My O'Reilly Webcast for "Teach Your Kids to Code" was so much fun! Over 400 registered attendees for a full hour of live Q&A! It was so awesome getting to share this information with the O'Reilly community audience LIVE that I had to share the slides with all of you to say THANK YOU for enrolling in Teach Your Kids to Code!
I've distilled over 7 hours of video and a 336-page book into a quick 26 slides that any parent or teacher can use to:
- Engage your student with short, fun, visual programs for all ages
- Learn to code colorful graphics in Python, and see your changes instantly on the screen
- Build up to more advanced programming concepts like variables, loops and functions - even user interaction like mouse clicks!
You'll find the PDF with all 26 slides added here as Lecture 101, or you can watch the video recording for FREE at http://www.oreilly.com/pub/e/3422 - please let me know how your journey through the course is going, and message me if I can be of help.
Bonus Video from Ms. Tribble's Kindergarten class at Silver City Elementary School!
I spoke about Teach Your Kids to Code at Silver City Elementary, and Ms. Tribble's class was learning about the colors of the rainbow - so we created a Roy G. Biv spiral! Check it out!
This festive, interactive Python app draws a Christmas tree, with an array of students' names as the ornaments! An awesome idea from Mrs. Julie Memler at Athens Academy!
- A computer (PC, Mac, or Linux - even Raspberry Pi!). You'll download and install the latest Python 3.7 (FREE!) with step-by-step instructions.
- If you can use a text editor (Notepad, Word, etc.), you can program in Python!
- No prior programming experience needed.
★★★★★ Join over 13,000 students from 163 countries learning Python (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).
Update 2020: Pre-order Dr. Payne's new book, "Hacking for Kids" on Amazon now!
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, hands-on lessons will get you coding your own apps from scratch in minutes. Over 100 video lectures and six and a half hours of content in short, 2-to-8-minute videos 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 22 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 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
- For kids 8 and up (learn on your own), for teachers, or for parents working with children ages 4-12.
- 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.
- 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 code with your kids.