***** Join over 4,400 students from 148 countries learning Python the fun and easy way (and teaching their kids)! *****
Two new BONUS videos added, updated for Python 3.6! 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
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 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:
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.
Quick, clear how-to for installing Python on PC, Mac or Linux, with screenshots!
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.
Challenge 1 Color Spiral 10
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!
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)!
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!
Challenge 1 Rosettes And Spirals
Challenge 2 Encoder Decoder with a Custom Key
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.
Challenge 1 Kaleidoscope v2
Challenge 2 Kaleidoscope v3
Challenge 3 War Complete
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!
Create a colorful kaleidoscope of spirals by mirroring points around the four quadrants (or fourths) of the screen.
Take screenshots of your creations to share with your friends, or the world!
Challenge 1 Mirrored Smileys
Challenge 2 Ping Pong
Challenge 3 Click Arrow Draw
** 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:
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.
Slides from my DojoLive! Webinar with the team at NearSoft, November 4, 2015.
See the video recording of the full 45-minute event and Q&A at https://www.youtube.com/watch?v=1RfeSphbmRw
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!
My youngest son, Max (age 5), came up with this month's Turtle Gallery app: ClickFlowers.py lets you draw a colorful rosette flower everywhere you click on the screen!
Mr. Bryan Fagan, a teacher at Lumpkin County Middle School in Georgia, submitted this month's Turtle Gallery winner. The code "moveturtle.py" displays the actual Turtle shape and lets the user draw using the arrow keys!
Happy Holidays from the Payne Family and Teach Your Kids to Code!
The January 2016 Turtle Gallery winner is Miss Shannon G. (age 9) - a beautiful layered triangle using the exclusive-or operator (^)! Brilliant! Enjoy, and Happy Coding!
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!
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, Learn Java the Easy Way (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 founding Director of the Center for Cyber Operations Education at UNG, and a MOOC (massive, open, online course) instructor with over 20,000 students to his credit, from 148 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.