creating lord shiva 2 by turtle python apni programming
import turtle as t t.bgcolor("black") t.pencolor("black") t.fillcolor("white") t.penup() t.goto(-150,0) t.pendown() t.begin_fill() t.pensize(5) t.left(90) t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.end_fill() t.penup() t.begin_fill() t.left(90) t.forward(10) t.pendown() t.left(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.end_fill() t.penup() t.begin_fill() t.backward(50) t.pendown() t.forward(20) t.right(90) t.forward(300) t.right(90) t.forward(20) t.right(90) t.forward(300) t.end_fill() t.pencolor("black") t.fillcolor("white") t.penup() t.goto(0,-23) t.left(90) t.forward(70) t.left(270) t.pendown() t.begin_fill() t.right(90) t.left(15) t.forward(50) t.right(15) t.forward(75) t.right(15) t.forward(50) t.left(15) t.right(165) t.forward(50) t.right(15) t.forward(75) t.right(15) t. forward(50) t.left(15) t.end_fill() t.penup() t.pen...
Comments
Post a Comment