We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96a5b6b + d854721 commit 186305dCopy full SHA for 186305d
examples/adafruit_io_simpletest_weather.py
@@ -64,10 +64,10 @@
64
# Get today's forecast
65
current_forecast = forecast['current']
66
print('It is {0} and {1}*F.'.format(current_forecast['summary'], current_forecast['temperature']))
67
-print('with a humidity of {0}%'.format(current_forecast['humidity']))
+print('with a humidity of {0}%'.format(current_forecast['humidity'] * 100))
68
69
# Get tomorrow's forecast
70
tom_forecast = forecast['forecast_days_1']
71
print('\nTomorrow has a low of {0}*F and a high of {1}*F.'.format(
72
tom_forecast['temperatureLow'], tom_forecast['temperatureHigh']))
73
-print('with a humidity of {0}%'.format(tom_forecast['humidity']))
+print('with a humidity of {0}%'.format(tom_forecast['humidity'] * 100))
0 commit comments