Update the weather.py file to do the following: Using separate prompts, prompt the user to enter the
Fantastic news! We've Found the answer you've been seeking!
Question:
Update the weather.py file to do the following:
- Using separate prompts, prompt the user to enter the latitude of the weather station and the longitude of the weather station
- Use the latitude and longitude to retrieve the following information:
- Station Name
- Current Conditions eg. Sunny, Partly Cloudy etc.
- Temperature in Fahrenheit
- Elevation
- Display the output as follows:
The following are some urls with the latitude and longitude of weather stations to test your program:
https://forecast.weather.gov/MapClick.php?lat=32.73016&lon=-117.19518
https://forecast.weather.gov/MapClick.php?lat=46.999&lon=-102.8833
https://forecast.weather.gov/MapClick.php?lat=31.7798&lon=-106.3763
https://forecast.weather.gov/MapClick.php?lat=44.0608&lon=-92.4831
https://forecast.weather.gov/MapClick.php?lat=30.4391&lon=-81.703
https://forecast.weather.gov/MapClick.php?lat=32.1259&lon=-81.297
Related Book For
Posted Date: