#!/usr/bin/env python

import pywapi

weather_com_result = pywapi.get_weather_from_weather_com('10001')
yahoo_result = pywapi.get_weather_from_yahoo('10001')
noaa_result = pywapi.get_weather_from_noaa('KJFK')

print "Weather.com says: It is " + string.lower(weather_com_result['current_conditions']['text']) + " and " + weather_com_result['current_conditions']['temperature'] + "C now in New York.\n\n"

print("Yahoo says: It is " + yahoo_result['condition']['text'].lower() + " and " + yahoo_result['condition']['temp'] + "C now in New York.")

print("NOAA says: It is " + noaa_result['weather'].lower() + " and " + noaa_result['temp_c'] + "C now in New York.")

@@ -242,21 +242,8 @@
 %22 + 
-string.lower(
 weat
@@ -286,16 +286,23 @@
 %5B'text'%5D
+.lower(
 ) + %22 an
@@ -388,12 +388,8 @@
 ork.
-%5Cn%5Cn
 %22%0A%0Ap

Fix error in example script