def prepend_www(url):
parsed = urlparse(url)<EOL>if parsed.netloc.split("<STR_LIT:.>")[<NUM_LIT:0>] != "<STR_LIT>":<EOL><INDENT>return parsed.scheme + "<STR_LIT>" + parsed.netloc + parsed.path<EOL><DEDENT>else:<EOL><INDENT>return url<EOL><DEDENT>
Changes google.com to www.google.com