<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Oom &#187; def</title>
	<atom:link href="http://web.pyncus.com/tag/def/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.pyncus.com</link>
	<description>Build and Share Web Technology</description>
	<lastBuildDate>Mon, 25 Jan 2010 18:19:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>indentation error</title>
		<link>http://web.pyncus.com/2009/07/08/indentation-error/</link>
		<comments>http://web.pyncus.com/2009/07/08/indentation-error/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 06:16:05 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[def]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[indentation]]></category>

		<guid isPermaLink="false">http://weboom.wordpress.com/?p=227</guid>
		<description><![CDATA[Python functions have no explicit begin or end, and no curly braces to mark where the function code starts and stops. The only delimiter is a colon (:) and the indentation of the code itself. This corresponds with def and if etc. For example, &#8212; def fib(n): print 'n =', n if n &#62; 1: <a href='http://web.pyncus.com/2009/07/08/indentation-error/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><span>Python</span> functions have no explicit <tt>begin</tt> or <tt>end</tt>, and no curly braces to mark where the function code starts and stops.  The only delimiter is a colon (<tt>:</tt>) and the indentation of the code itself.</p>
<p>This corresponds with def and if etc.</p>
<p>For example,</p>
<p>&#8212;</p>
<pre><span>def</span> fib(n):                   <a name="odbchelper.indenting.2.1"></a><img src="http://www.diveintopython.org/images/callouts/1.png" border="0" alt="1" width="12" height="12" />
    <span>print</span> <span>'n ='</span>, n            <a name="odbchelper.indenting.2.2"></a><img src="http://www.diveintopython.org/images/callouts/2.png" border="0" alt="2" width="12" height="12" />
    <span>if</span> n &gt; 1:                 <a name="odbchelper.indenting.2.3"></a><img src="http://www.diveintopython.org/images/callouts/3.png" border="0" alt="3" width="12" height="12" />
        <span>return</span> n * fib(n - 1)
    <span>else</span>:                     <a name="odbchelper.indenting.2.4"></a><img src="http://www.diveintopython.org/images/callouts/4.png" border="0" alt="4" width="12" height="12" />
        <span>print</span> <span>'end of the line'</span>
        <span>return</span> 1</pre>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/07/08/indentation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is def?</title>
		<link>http://web.pyncus.com/2009/06/25/what-is-def/</link>
		<comments>http://web.pyncus.com/2009/06/25/what-is-def/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:22:06 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[def]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://weboom.wordpress.com/?p=53</guid>
		<description><![CDATA[def is to define function in Python. &#8212;- def  square(x): return x*x]]></description>
			<content:encoded><![CDATA[<p>def</p>
<p>is to define function in Python.</p>
<p>&#8212;-</p>
<p>def  square(x):<br />
return x*x</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/06/25/what-is-def/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

