There are a couple of errors in this code. Along with the missing parentheses that @piokuc noted:
ft = turtle.Turtle()
This line will also cause an error:
ft.color(255)
The color()
function is fairly flexible about it's argument:
color(colorstring), color((r,g,b)), color(r,g,b)
But ft.color(255)
is invalid for two reasons. First, it's not a valid argument and second it's assuming a 0 - 255 color scale which is incorrect. The default color mode for turtle is 0.0 - 1.0 unless you change it with turtle.colormode(255)
.
Finally, you might want to end with turtle.done()
at the bottom of your code, unless you're running under a development environment that doesn't require it.
PS: Your 'T' is upsidedown!