kayyshf commited on
Commit
eb413f5
·
verified ·
1 Parent(s): 825815b

Update findWeather.py

Browse files
Files changed (1) hide show
  1. 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" + "\nMinimum temperature for today is: " + str(weather_data_final['temperature_min']) + "°C" + "\nMaximum temperature for today is: " + str(weather_data_final['temperature_max']) + "°C" + "\nAverage humidity for today is: " + str(weather_data_final['humidity']) + "\n\n\n"
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