Tommytester's Custom Turtle

by Tommy Tester

21 May 2018

Check out my awesome Trinket that takes user input and draws stuff!

Best day of my life.

I was really excited when I figured this part out:

# make a super cool shape
shapesize = float(input("How big should my awesome shape be?"))
tina.penup()
tina.goto(-shapesize,shapesize)
tina.begin_fill()
tina.pendown()
tina.goto(shapesize, shapesize)
tina.goto(shapesize, -shapesize)
tina.goto(-shapesize,-shapesize)
tina.goto(-shapesize,shapesize)
tina.end_fill()

I wanted Tina to end up in the center, so I did this:

# position Tina.
tina.penup()
tina.left(90)
tina.goto(0,0)
tina.color("black")
Testin' INLS 560 since 2014 Find Tommy Tester on Twitter, Github, and on the web.