<img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1441353372787187&amp;ev=NoScript" />
1
2
3
4
5
6
7
8
import turtle
t = turtle.Turtle()
t.forward(100)
t.left(90)
t.forward(100)
print "Hello World"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Adding or removing images is disabled during broadcasting. You'll be able to update images again once the broadcast session is over.

Images

Add Image

Images listed here are available to use in your code in this trinket. Click the Add Image button to include more or upload new images.

How To Use Images

Images can be used with the turtle module.

import turtle
screen = turtle.Screen()
# set the screen background
screen.bgpic("filename.png")

# Or, set the shape of a turtle
screen.addshape("filename.png")
tina = turtle.Turtle()
tina.shape("filename.png")

Powered by

Run your code first!

It looks like you haven't tried running your new code.

Try clicking  Run and if you like the result, try sharing again.

×

Are you sure?

Resetting will undo all of your current changes.

Cancel Yes, I am sure. ×

Broadcast Control Room

×

Share Your Code!

Run Options
Link Options
pro tip You can always save a copy for yourself by clicking the or button in the top bar.
×

Embed Your Code!

Run Options
Display Options
pro tip You can always save a copy for yourself by clicking the or button in the top bar.
×

Email the link

pro tip You can always save a copy for yourself by clicking the or button in the top bar.
×

Add to Group

Decide which group to add this trinket below.

    You don't have any groups that you can add a trinket to — try creating a new one!

    You can also create a new group.

    Create Group
    ×

    Settings

    Enable Tests