Skip to content

How to add text in Python turtle?

import turtle

turtle.color(' black')
style = ('Arial', 30, 'italic')
turtle.write('Hello!', font=style, align='center')
turtle.hideturtle()
See also  Python code snippet - How to do power transformation in pandas dataframe?
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.