86K subscribers
90 photos
13 videos
6 files
164 links
Python.hub
Download Telegram
😎😎 Python
from sketchpy import library as lib


obj = lib.rdj()
obj.draw()
from sketchpy import library as lib

obj = lib.bts()
obj.draw()
from sketchpy import library as lib

obj = lib.vijay()
obj.draw()
👆 try to run above three codes and share me output 😁
import turtle

screen = turtle.Screen()

screen.setup(550, 600, startx=0, starty=100)

t = turtle.Turtle()

turtle.bgcolor('black')

turtle.color('yellow')

turtle.speed(11)

turtle.right (45)

for i in range(150):

turtle.circle(25)

if 7 < i < 62:

turtle. left(5)

if 80 < i < 133:

turtle.right(5)

if i < 80:

turtle.forward(10)

else:

turtle.forward(5)
Run this code and send me output
Python MCQs PDF 👇👇👇👇👇
Balloon 🎈 SHOOTER 🔫 Game 🎮 Using Python 👇👇👇

https://code-projects.org/balloon-shooter-game-in-python-with-source-code/
import cv2
image = cv2.imread("C/Users/User/Downloads/spid.png")
gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
inverted = 255-gray_image
blur = cv2.GaussianBlur(inverted, (21, 21), 0)
invertedblur = 255-blur
sketch = cv2.divide(gray_image, invertedblur, scale=256.0)
cv2.imwrite("sketch.png", sketch)
cv2.imshow("Image", sketch)