import turtle turtle.color(' black') style = ('Arial', 30, 'italic') turtle.write('Hello!', font=style, align='center') turtle.hideturtle()
Here is what the above code is Doing:
1. We set the color of the turtle to black.
2. We set the font style to Arial, size 30, and italic.
3. We write the text ‘Hello!’ in the center of the screen.
4. We hide the turtle so that it’s not visible on the screen.