An Hour of Code
Welcome to this Hour of code activity, sponsored by Trinket.io
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.
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!


