---Python logo Source code---
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(10)
t.pensize(2)
t.pencolor('white')
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120)
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor('black')
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor('#306998')
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor('#FFD43B')
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
turtle.done()
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(10)
t.pensize(2)
t.pencolor('white')
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120)
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor('black')
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor('#306998')
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor('#FFD43B')
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
turtle.done()
👍1
Code Available Here
https://buymeacoffee.com/sortedcoding/e/339114
https://buymeacoffee.com/sortedcoding/e/339114
15 FRONTEND PROJECT IDEAS TO TRY OVER THE WEEKEND🔥
1. Todo list app
2. Quiz app
3. Calculator
4. Contact Form
5. Landing Page
9. Food order app
10. Chat app
11. Blog app
12. Weather app
13. Weight tracker app
14. Expense tracker app
15. Movie app
1. Todo list app
2. Quiz app
3. Calculator
4. Contact Form
5. Landing Page
9. Food order app
10. Chat app
11. Blog app
12. Weather app
13. Weight tracker app
14. Expense tracker app
15. Movie app
👍2❤1