Floodfill function Get link Facebook X Pinterest Email Other Apps April 04, 2024 from PIL import Image,Image Drawimg=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( ) Get link Facebook X Pinterest Email Other Apps Comments
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
Elipse function April 04, 2024 import turtle def draw(red): for i in range(2): turtle.circle(red,90) turtle.circle(red//2,90) turtle.seth(-45) draw(100) Read more
Comments
Post a Comment