Tia's Custom Turtle

by Tia Carmon

21 May 2018

Here’s my trinket with user input.

Took me a few minutes to realize that I had to program the user input for bg bolor as str. Here’s the code I used

#Ask what color user would like Tina to be
usercolor = input("What color would you like?")
print
#change bg color-inspired by classmate's before picture
myscreen = turtle.Screen()
myscreen.bgcolor (str (usercolor))

Added some more cirles, used penup and pendown to avoid having lines all over the screen

#Add more circles
tina.penup ()
tina.goto (-75,90)
tina.pendown ()
tina.color ("blue")
tina.circle (20)

tina.penup ()
tina.goto (75,-90)
tina.pendown ()
tina.color ("pink")
tina.circle (30)

Thanks for checking out my custom turtle!

Tia is a BMHI student spending Summer 2018 taking INLS 560 Find Tia Carmon on Twitter, Github, and on the web.