Weather
<%
daycount = 0
curr_day = "Today"
%>
Today
% for period in forecast:
% if (daycount <= 4) and (period["day"] != curr_day):
<%
daycount += 1
curr_day = period["day"]
%>
${period["day"]}
% endif
% if daycount <= 3:
${period["period"]}
${period["mintemp"]} – ${period["maxtemp"]}
% endif
% endfor
% if len(inbox) > 0: