Skip to main content

Setup

Course progressStage 0 of 10
~25 min
Build

a working Python Trinket and a saved beginner game project

Learn

where the workspace lives and how the course uses one project

Ship

a clean Trinket ready for Crewmate Task Dash

Python 101 uses the Trinket workspace on the right side of the page. No local install is required. If your class is multi-day, use Trinket's Save, Remix, or Share tools before you leave.

Step 1 - Find your workspace

Look at the right side of this page. You should see a Python Trinket with a Run button.

Step 2 - Run a smoke test

Think first

Predict before you run

If the background is midnight blue and the writer color is white, what should appear?

Check your thinking

A dark blue output area with a white message in the center.

Python code task
Start your file

main.py

This is only a Trinket test. Stage 1 replaces it.

#!/bin/python3
import turtle

screen = turtle.Screen()
screen.bgcolor("midnight blue")

writer = turtle.Turtle()
writer.hideturtle()
writer.color("white")
writer.write("Python 101 is ready", align="center", font=("Arial", 18, "bold"))

turtle.done()

Setup check

  • The Trinket rail appears on the right.
  • The smoke test runs.
  • You know where Trinket's save or share tools are.