DDSRY

  • Instagram
  • Twitter
  • Linkedin
  • Facebook
  • Youtube
  • Medium
  • Pinterest
  • Home
  • Blog
  • About
  • Podcast
  • Contact

Category - Python Program

  • Python Program
  • Python Programming Language

Python program that uses the requests and BeautifulSoup packages to scrape the weather forecast for Mumbai from the website.

February 28, 2023
by DDSRY
2 min read

In this program, we first import the requests and BeautifulSoup packages. We define the URL to scrape as url, which is the weather forecast page for Mumbai on AccuWeather. We then send a GET request to the URL using...

Continue reading

  • Python Program
  • Python Programming Language

Python program that converts minutes to hours, hours to days, and so on

February 28, 2023
by DDSRY
2 min read

In this program, we first ask the user for input of a number of minutes. We then convert the minutes to hours by dividing by 60. We then convert the hours to days by dividing by 24, and so on, until we have converted weeks to...

Continue reading

  • Python Program
  • Python Programming Language

Python program that uses the Wikipedia package to search for a term on Wikipedia and display the summary.

February 26, 2023
by DDSRY
1 min read

Program Source Code: import wikipedia Ask the user for input search_term = input(“Enter a term to search on Wikipedia: “) Search for the term on Wikipedia try:wikipedia.set_lang(“en”) # Set...

Continue reading

  • Python Program
  • Python Programming Language

Python program that uses the Google Maps API to find the distance between two locations.

February 26, 2023
by DDSRY
2 min read

First, you’ll need to make sure you have the googlemaps package installed. You can do this by running pip install googlemaps in your terminal. Once you have the package installed, you can use the following...

Continue reading

  • Python Program
  • Python Programming Language

Python program that asks for the user’s age and checks whether they are old enough to vote.

February 25, 2023
by DDSRY
1 min read

In this program, we use the built-in input function to ask the user for their age, and then convert the input to an integer using the int function. Next, we use an if statement to check if the user’s age is greater than...

Continue reading

Copyright © 2023. Created by by DDSRY.
  • Privacy Policy
  • Coding Talk Show Podcast
  • The DDSRY Show Python Podcast
  • The C Programming Language Podcast
  • Let’s Talk About C++ Programming Language Podcast
  • Life Deepak Yadav Podcast AudioLog
  • The Deepak Yadav Show हिंदी
  • Web 3.0 Podcast
  • Swellcast | Swell Life
  • Home
  • Blog
  • About
  • Podcast
  • Contact
  • Instagram
  • Twitter
  • Linkedin
  • Facebook
  • Youtube
  • Medium
  • Pinterest