Present weather report of the given location
packages required: pyowm
Follow these steps to get output:
- Install pyowm package using this command "pip install pyowm".
- goto https://openweathermap.org/ and create an account.
- check for API key generation and copy paste the API key into the code.
- open the homepage of the website and search for your location, there you will get the city name and the country code. copy paste these 2 details into the code.
- Run this python file and check for the output.