Hour of Python
Python is a great programming language to learn when getting started. It's also a powerful language used by many companies for making and deploying web apps.
We hope you enjoy these lessons and tutorials. You can provide us feedback any time. We read and respond to every message.
Python with Turtles
A visual introduction to code using the Python programming language and Turtles.
Also Available in Spanish, Chinese, and Korean!
From Blocks to Code
Starting with Blocks, we look at the code underneath and learn some basics of Python!
Test your knowledge of Python's Strings and learn as you go! Just getting started? Try our Tutorials or Lessons.
Make text all lowercase using string methods
Capitalize the first letter of a string
Make lowercase letters uppercase and vice versa
Return Aardvark if a string begins with 'a'
Use Slicing to Reverse a String
Use slicing to conjugate verbs
Correctly format a list of three things
How many things are there?
Long words make you sad? You need an Abbreviator
Learn how to draw fun shapes with our interactive Challenges
Use basic turtle commands like shape, goto and stamp to create a bullseye.
Decorate a tree with your own ornaments.
Learn python in short, easy to follow tutorials.
Numbers in Python work like numbers you've seen elsewhere.
Let's now turn to how it handles inequalities — things that are either true or false.
Computer scientists have a special word for text: "strings".
Learn other ways to change strings.
Variables in computer science are pretty different than those in math, even though they're called the same thing.
If statements are how you direct Python to do something if something else is true.
Python offers a tool called lists to keep track of related "things," or values.
While loops tell the computer to do something while something else is true.
Dictionaries are another tool, built-in to Python, to store things. Things in dictionaries can be alike, too, though dictionaries are best used to translate keys to values.
Sometimes when programming it's helpful to use random numbers.
Lessons in Other Languages
Una introducción visual a Python
Una introducción visual para aprender a programar Python utilizando tortugas.
Traducción de / translated by Veronica Jimenez¡Vamonos!
Translated by Jinzhe Liang开始！
파이썬 프로그래밍 언어와 거북이(Turtle)를 이용하는 눈으로 이해하는 코드 튜토리얼을 소개합니다.
Translated by Youngseok Lee가자!