Skip to content
Sign upLog in
← Back to Community
Red Triangle In A Black Background
Profile icon
Siddhartha123

Here's my code, people! import turtle

tess = turtle.Turtle
wn= turtle.Screen
wn = turtle.Screen()

wn.bgcolor("black")

tess = turtle.Turtle()
tess.shape("triangle")
tess.color("red")
tess.left(90)

def increaseSize():
size = tess.turtlesize()
increase = tuple([2 * num for num in size])
tess.turtlesize(*increase)

wn.onkey(increaseSize, "x")
wn.listen()

Voters
Profile icon
PALAKBISHT
Profile icon
Siddhartha123
Comments
hotnewtop
Profile icon
joshhies

first thing first, no need to copy past you code cause we already see you code in repl if you link it to this post. Second thing, use markdown if you do so.

This is pretty cool, not that interesting tho.