turtle.write(arg, move=False, align="left", font=("Arial", 8, "normal"))
import turtle
t = turtle.Turtle()
t.write(arg = "Hello there",font = ("Calibri",16,"bold"))
# Python program to draw square
# using Turtle Programming
import turtle
skk = turtle.Turtle()
for i in range(4):
skk.forward(50)
skk.right(90)
turtle.done()
turtle.write(arg, move=False, align=’left’, font=(‘Arial’, 8, ‘normal’))
arg Info, which is to be written to the TurtleScreen
align One of the strings “left”, “center” or right”
font A tuple (fontname, fontsize, fonttype)
turtle.write("Home = ", True, align="center")
>>> turtle.write((0,0), True)
>>> turtle.write("Home = ", True, align="center")
>>> turtle.write((0,0), True)