Hello friends, in this article, I am presenting you with a simple way to create an emoji. We are creating a Side Look Emoji using python turtle.
This is very easy to code and create. First, we have imported the turtle and then we have initialized it.
Then we created it first eye which is looking our left side using circle() function in python turtle, and in the same way we have created the second eye. At last, we just draw it’s lips(mouth) by drawing a line. To draw that line, we first changed the postion of our pen using goto() function and then just changed it’s size to 10 using pensize() function.
This is very easy and simple to create Side Look Emoji. We have also used some other function like color(), begin_fill(), end_fill(), etc. These all are easy to understand because the names of these functions tell the purpose of them themselves.
Now, let’s see the code.
Source Code
import turtle my_pen = turtle.Turtle() my_pen.color("#ffdd00") my_pen.begin_fill() my_pen.circle(100) my_pen.fillcolor("#ffdd00") my_pen.end_fill() my_pen.home() my_pen.goto(-40, 100) my_pen.color("#555555") my_pen.begin_fill() my_pen.circle(15) my_pen.color("#ffffff") my_pen.end_fill() my_pen.penup() my_pen.goto(-48, 110) my_pen.pendown() my_pen.color("Black") my_pen.begin_fill() my_pen.circle(5) my_pen.end_fill() my_pen.penup() my_pen.goto(40, 100) my_pen.pendown() my_pen.color("#555555") my_pen.begin_fill() my_pen.circle(15) my_pen.color("#ffffff") my_pen.end_fill() my_pen.penup() my_pen.goto(32, 110) my_pen.pendown() my_pen.color("Black") my_pen.begin_fill() my_pen.circle(5) my_pen.end_fill() my_pen.penup() my_pen.goto(-20, 50) my_pen.pendown() my_pen.pensize(10) my_pen.forward(40) turtle.done()
Output:

Also read:
- Oracle Hiring for Python internship 2023: Apply Now
- Capgemini hiring freshers and experienced in bulk with CTC 5-15 LPA. Apply now!
- IIT Kanpur’s Python Learning Program: Apply Now
- Microsoft Giving Free Machine Learning Course: Enroll Now
- Accenture Giving Free Developer Certificate in 2023
- Microsoft Bing Eating Google Traffic: Check results here
- ChatGPT 4 with videos next week: Unveiled by Microsoft
- DevSecOps Internship at IBM: Apply Now
- Python Internship at Cisco: Apply Now
- Python Internship at HP: Apply Now
- Python | Asking the user for input until they give a valid response
- Python | How to iterate through two lists in parallel?
- Python Internship at Lenovo: Apply Now
- Amazon Summer Internship 2023
- Python | How to sort a dictionary by value?
- Amazon Giving Free Machine Learning Course with Certificate: Enroll Now
- Elon Musk hiring AI researchers to develop OpenAI rival
- Why Elon Musk Quits OpenAI?
- Google Summer Internship 2023
- Python | How to split a list into equally-sized chunks?