Spaces:
Sleeping
Sleeping
Update findWeather.py
Browse files- findWeather.py +1 -1
findWeather.py
CHANGED
@@ -32,5 +32,5 @@ def find_weather(city):
|
|
32 |
|
33 |
|
34 |
def print_weather_data(weather_data_final):
|
35 |
-
output = "City: " + weather_data_final['city_name'] + " " + weather_data_final['country_code'] + " " + "\nAverage temperature for today is: " + str(weather_data_final['temperature']) + "°C" + "\nDue to other conditions, temperature feels like " + str(weather_data_final['feels_like']) + "°C today"
|
36 |
return output
|
|
|
32 |
|
33 |
|
34 |
def print_weather_data(weather_data_final):
|
35 |
+
output = "City: " + weather_data_final['city_name'] + " " + weather_data_final['country_code'] + " " + "\nAverage temperature for today is: " + str(weather_data_final['temperature']) + "°C" + "\nDue to other conditions, temperature feels like " + str(weather_data_final['feels_like']) + "°C today" + "\nAverage humidity for today is: " + str(weather_data_final['humidity']) + "\n\n\n"
|
36 |
return output
|