made it so just the temperature shows

This commit is contained in:
gsanders
2025-11-06 09:50:12 -05:00
parent fc645fa566
commit 5cb1894ef4
2 changed files with 7 additions and 2 deletions

0
weather/weather Normal file
View File

View File

@@ -32,5 +32,10 @@ def print_weather(location=None, metric=False, verbose=False):
office = get_weather_office(coordinates['lat'], coordinates['lng'])
forcast = get_forecast(office['office'], office['x'], office['y'], metric=metric)
print(forcast)
forecast = get_forecast(office['office'], office['x'], office['y'], metric=metric)
for day in forecast:
display= day['name']+ ' temperature will be ' + str(day['temperature']) + ' degrees'
print(display)