Created
June 14, 2021 02:58
-
-
Save JayantGoel001/b3176d9e543a0647a84d6f8ecddc7a9e to your computer and use it in GitHub Desktop.
Forecasting Weather using requests and wttr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
city = input("Enter The Name of City:\n") | |
url = 'https://wttr.in/' + city | |
response = requests.get(url) | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment