We're making Trinket better and faster on new servers. Help us make it better by reporting any issues →
Trinket

Where we'll go

Welcome!

Welcome to Trinket's beginning Python materials!

These sections are designed to help you better understand how your computer understands code.

In it, we'll cover:

1. Numbers and math
2. Logic
3. Words and letters
4. Changing text
5. Variable containers
6. Conditionals
7. Lists
8. Loops
9. Dictionaries
10. Randomness

More about Python

To do this, we'll use a computer language called Python.

You can use Python to make websites, create games, and write scripts. The concepts we'll cover exist in other languages.

Understanding how (for example) loops work in Python will help you in other programming languages.

Learning new things

Learning something new can be confusing, no matter what you're learning: a game, a ritual or tradition, a programming language, anything.

If you find parts of these sections confusing, remember that you're not alone; other people have found these ideas strange at first too.

The best thing to do is to keep reviewing the confusing part, typing variations on it into the console or trinkets (more about each of these in a moment!) until it makes more sense.

You might find programming with Python different from other things you've learned before, but you can do it!