Turtle Programs

Write Your Name In Python Turtle

Write Your Name In Python Turtle

Looking for a tutorial on how to write your name in python turtle, then you are at the right place today. In this tutorial, I will show you how to write your name in python using turtle, so follow this tutorial till the end.

We will use the write() method in turtle to write your name it is a turtle method which allows you to write your text on the screen you can change the font, color and size.

Python Program To Write Your Name In Turtle

import turtle as t

name = input("Enter your name: ")
t.write(name,font=("Arial", 50,"bold","italic"))


Above is the python program to draw your name in turtle. Now to run this program you need to have python installed on your computer, If you don’t have then follow this guide: Install and setup python on your computer.

To run this python program, follow the below steps:

  • Create a new folder for this python project.
  • Open it in a code editor of your choice.
  • Create a python file with an ending .py extension.
  • Copy the above code and paste it in your file.

Now you have the code, but there is one last thing you need to do as I have said I have used the turtle library for this program so you might need to install it if you get any errors like turtle module not found.

Turtle comes pre-installed with python setup, but if you get any errors you can install it using the below command.

pip install turtle

So now you have everything setup and you are ready to run the program, so to run this program open a command prompt at your program folder location and paste the below command.

python filename.py

The above command will run the program and first it will ask you to enter your name in the console then it will open the window with your name printed on it.

Name Drawing In Python Turtle

As you can see, I entered Cristiano Ronaldo it printed it. I hope you were able to run this program successfully. 

Want more amazing turtle tutorials like this check out this: Awesome Python Turtle Codes.


This was the tutorial on writing your name in python turtle. I hope you found this tutorial helpful and useful. Do share this tutorial with your friends who might be interested in this program.

Here are some more python drawing tutorials for you:

I hope you found what you were looking for from this tutorial, and if you want more python guides and tutorials like this, do join our Telegram channel for future updates.

Thanks for reading, have a nice day 🙂