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) +