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:
- People are becoming AI Engineer with this free course in 2025: Here is how to join this…
- Apply to Google’s Student Training in Engineering Program (STEP) Intern, 2025
- Self-Driving Car Saves Falling Pedestrian, Showcases Promise of Autonomous Technology
- Instant Karma: Employer Fires Tech Team with AI, Faces Backlash on LinkedIn While Seeking New Developers
- LinkedIn’s COO Reveals the AI Interview Question That Could Land You the Job in 2025
- Elon Musk’s xAI Raises $6 Billion, Valued at $45 Billion
- Google Unveils Veo 2 and Imagen 3: A New Era of AI-Generated Content
- Imagination to Reality, Unlocking the Future: Genesis Physics Engine for 4D Simulation
- Simple Code to compare Speed of Python, Java, and C++?
- Falling Stars Animation on Python.Hub October 2024
- Most Underrated Database Trick | Life-Saving SQL Command
- Python List Methods
- Top 5 Free HTML Resume Templates in 2024 | With Source Code
- How to See Connected Wi-Fi Passwords in Windows?
- 2023 Merry Christmas using Python Turtle
- 23 AI Tools You Won’t Believe are Free
- Python 3.12.1 is Now Available
- Best Deepfake Apps and Websites You Can Try for Fun
- Amazon launched free Prompt Engineering course: Enroll Now
- 10 GitHub Repositories to Master Machine Learning