How to make Avenger logo in python using turtle module

0


 Source Code here:- 


import turtle

av = turtle.Turtle()
av.speed("fast")

wn = turtle.Screen()

#Outer circle part
av.pensize(20)
av.begin_fill()
av.fillcolor("gold")
av.pencolor("black")
av.circle(350)
av.end_fill()

#Inner circle part
av.up()
av.goto(0, 70)
av.pensize(20)
av.begin_fill()
av.fillcolor("black")
av.circle(280)
av.end_fill()

# A letter making
av.up()
av.goto(-350, 0)
av.down()
av.pensize(15)
av.pencolor("black")
av.begin_fill()
av.fillcolor("gold")
av.seth(65)
av.fd(900)
av.rt(65)
av.fd(140)
av.rt(90)
av.fd(600)
av.rt(90)
av.fd(120)
av.rt(90)
av.fd(100)
av.lt(90)
av.fd(130)
av.lt(67)
av.fd(350)
av.rt(70)
av.fd(135)
av.end_fill()

#Inner triangle part
av.up()
av.goto(-50, 400)
av.seth(65)
av.pensize(15)
#av.pencolor('black')
av.begin_fill()
av.fillcolor("black")
av.fd(300)
av.rt(157)
av.fd(270)
av.end_fill()

#Arrow line
av.up()
av.goto(65, 480)
av.down()
av.color("black")
av.lt(37)
av.fd(155)
av.rt(72)
av.fd(210)

turtle.done()
Tags

Post a Comment

0Comments

If you have any doubts, please let me know

Post a Comment (0)