Elipse function Get link Facebook X Pinterest Email Other Apps April 04, 2024 import turtledef draw(red):for i in range(2):turtle.circle(red,90)turtle.circle(red//2,90)turtle.seth(-45)draw(100) Get link Facebook X Pinterest Email Other Apps Comments
Floodfill function April 04, 2024 from PIL import Image,Image Draw img=Image.open(R"c://ss.jpg") img1=img.convert("RGB") seed=(263,70) rep=(255,255,0) ImageDraw.floodfill(img,seed,rep,thresh=50) img.show( ) Read more
Rectangle function April 04, 2024 import turtle t=turtle.Turtle() t.forward(150) t.left(90) t.forward(80) t.left(90) t.forward(150) t.left(90) t.forward(80) t.left(90) Read more
Comments
Post a Comment