Skip to main content

Featured

VIDEO DOWNLOADER USING PYTHON

 SO IN THIS BLOG I WILL SHOW THE VIDEO DOWNLOADER.SO YOU HAVE TO ENTER THE LINK OF THE VIDEO AND PASTE IT IN THE PROGRAM AND IT WILL BE DOWNLOADED IN THE FOLDER YOU HAVE SAVED IT.SO YOU CAN MAKE A FOLDER FOR THIS PROGRAM. REQIREMENTS :- pip install pytube SOURCE CODE-: from pytube import YouTube  url = input("enter the url of video: ") my_video = YouTube(url) print("***********video title***********") print(my_video.title) print("***********thumbnail image***********") print(my_video.thumbnail_url)      print("downloading video") my_video = my_video.streams.get_highest_resolution() my_video.download() print("video downloaded") SO THIS IS THE SOURCE CODE. THANK YOU.

MATHS PROBLEM SOLVER

HELLO EVERYONE THIS IS MY NEW PYTHON BLOG AND THIS TIME WE WILL MAKE A MATHS PROBLEM SOLVER


print("maths caluculator")

problem = input("enter a math problem, or 'q' quit:")

while (problem != "q"):

    print("the answer to ", problem, "is:", eval(problem))

    problem = input("enter another math problem, or 'q'to quit:")
    
THIS IS THE WHOLE SOURCE CODE PLEASE TRY IT.THANK YOU

Comments

Post a Comment

Popular Posts