From 5cb1894ef44ecb85464ba0315bee18934e850721 Mon Sep 17 00:00:00 2001 From: gsanders Date: Thu, 6 Nov 2025 09:50:12 -0500 Subject: [PATCH] made it so just the temperature shows --- weather/weather | 0 weather/weather.py | 9 +++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 weather/weather diff --git a/weather/weather b/weather/weather new file mode 100644 index 0000000..e69de29 diff --git a/weather/weather.py b/weather/weather.py index d81f9d7..81b88af 100644 --- a/weather/weather.py +++ b/weather/weather.py @@ -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) +