Skip to main content

Posts

Showing posts from November, 2021

How to Draw Sinchan by using Python

                *****SOURCE CODE *****  from turtle import * #import time s=Screen() s.screensize(700,1000) speed(5) def myPosition(x, y):     penup()     goto(x, y)     pendown() #time.sleep(10) #ht() pensize(2) def ankur():     fillcolor('#ffec40')     begin_fill()     right(25)     forward(20)     right(45)     forward(20)     left(70)     forward(90)     left(95)     forward(75)     left(85)     forward(175)     left(85)     forward(75)     left(95)     forward(90)     left(85)     forward(18)     end_fill() def leftLeg():     myPosition(-39,-25)     fillcolor("#ffd699")     begin_fill()     right(89)     forward(25)     right(90)     forward(50)   ...