Get your
own Python
server
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
import turtle import random def racer(color, y): t = turtle.Turtle() t.color(color) t.shape("turtle") t.penup() t.goto(-150, y) t.pendown() return t red = racer("red", 30) blue = racer("blue", -30) for i in range(25): red.forward(random.randint(1, 10)) blue.forward(random.randint(1, 10)) turtle.done()