Changing Font Size in Trinkets

Select the font size you want from the left hand menu.


Want to try out Changing Font Size?

Trinket: run code anywhere

main.pyshapes.py

# You can edit this code and run it right here in the browser!
# First we'll import some turtles and shapes:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

# This is a custom module we've made.
# Modules are files full of code that you can import into your programs.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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

Images

Image Library

Images listed here are available to use in your code in this trinket. Click the Image Library 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")

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.

Changing Font Size is available in all Trinket plans.

Code

Code+

Connect

Compare Plans