drawing captain america 's shield using python turtle | captain America's logo |
CAPTAIN AMERICA 'S SHIELD USING PYTHON
EASY 45 LINES OF PYTHON CODE
HERE IT IS
from turtle import *
win=Screen()
win.bgcolor("black")
old=Turtle()
old.color("white")
old.speed(2)
old.begin_fill()
old.color("red")
old.penup()
old.setposition(10,-400)
old.pendown()
old.circle(350)
old.end_fill()
old.begin_fill()
old.color("white")
old.penup()
old.setposition(10,-350)
old.pendown()
old.circle(300)
old.end_fill()
old.begin_fill()
old.color("red")
old.penup()
old.setposition(10,-290)
old.pendown()
old.circle(233)
old.end_fill()
old.begin_fill()
old.color("blue")
old.penup()
old.setposition(10,-210)
old.pendown()
old.circle(150)
old.end_fill()
old.penup()
old.setposition(-25,0)
old.pendown()
old.begin_fill()
old.color("white")
for i in range(5):
old.left(60)
old.forward(100)
old.right(133)
old.forward(100)
old.end_fill()
Comments
Post a Comment