The LEAGUE

Today we're going to learn the basics of a programming language named Python. Python is fun to learn but is also a Real programming language that powers websites and apps like Yelp.com and Twitter.

The LEAGUE of Amazing Programmers (opens new window) is a non profit progamming school that teaches 5th through 12th grade students all over San Diego to program. We are really happy to have you here for this class, and we hope that you will love programming as much as we do.

This Hour of code activity was originally created by Trinket.io, and this course is a modified version of A Visual Introduction to Python (opens new window), with some extra lessons and exercises.

# Run your first program!

No need to save the fun stuff until the end. Here's a program in Python. Press Run to see what it does:

At the end of this activity we'll come back to this example and you'll see you'll understand quite a lot about how it works. In fact, you'll write or customize lots of your your own programs in just an hour!

# Keep Going!

You'll see lots of new things during this tutorial. Code may always look unfamiliar, and no one knows everything about code, not even the experts! So the most important thing is to keep going, even if you're confused or run into errors!

Also, for each of the interactive examples you see, there is a Reset button in the left hand menu. If you want to start over, it will reset your code back to the beginning.

Have fun!


Thanks to Trinket.io for providing this assignment, part of their Hour of Python (opens new window) course.