<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Christmas Carols in Java</title>
	<atom:link href="http://codepoetics.com/poetix/2009/11/30/christmas-carols-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://codepoetics.com/poetix/2009/11/30/christmas-carols-in-java/</link>
	<description>better than fun</description>
	<lastBuildDate>Fri, 23 Jul 2010 19:03:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Cranch</title>
		<link>http://codepoetics.com/poetix/2009/11/30/christmas-carols-in-java/comment-page-1/#comment-33003</link>
		<dc:creator>James Cranch</dc:creator>
		<pubDate>Mon, 30 Nov 2009 16:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://codepoetics.com/poetix/?p=1532#comment-33003</guid>
		<description># a taste of Christmas in Python

def dayOfChristmas(N):
  l = [&quot;a partridge in a pear tree&quot;,&quot;two turtledoves&quot;,&quot;three french hens&quot;,&quot;four calling birds&quot;,&quot;five gold rings&quot;,&quot;six geese a-laying&quot;,&quot;seven swans a-swimming&quot;,&quot;eight maids a-milking&quot;,&quot;nine ladies dancing&quot;,&quot;ten lords a-leaping&quot;,&quot;eleven pipers piping&quot;,&quot;twelve drummers drumming&quot;][0:N]
  l.reverse()
  for s in l:
    print s</description>
		<content:encoded><![CDATA[<p># a taste of Christmas in Python</p>
<p>def dayOfChristmas(N):<br />
  l = ["a partridge in a pear tree","two turtledoves","three french hens","four calling birds","five gold rings","six geese a-laying","seven swans a-swimming","eight maids a-milking","nine ladies dancing","ten lords a-leaping","eleven pipers piping","twelve drummers drumming"][0:N]<br />
  l.reverse()<br />
  for s in l:<br />
    print s</p>
]]></content:encoded>
	</item>
</channel>
</rss>
