<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Symantic code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 11 Oct 2008 17:26:56 GMT</pubDate>
    <description>DZone Snippets: Symantic code</description>
    <item>
      <title>Small Symantics Problem</title>
      <link>http://snippets.dzone.com/posts/show/5008</link>
      <description>// i can't get this to work.  This seems to be the problem portion of the code.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;//import random&lt;br /&gt;# choose from a list&lt;br /&gt;adam = random.choice([1,2])&lt;br /&gt;print adam&lt;br /&gt;input('press enter to continue');&lt;br /&gt;if adam = 1:&lt;br /&gt;    print 'you loose'&lt;br /&gt;raw_input('press enter to exit')&lt;br /&gt;if adam = 2:&lt;br /&gt;    print 'you WIN!!'&lt;br /&gt;raw_input('press enter to exit')&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 18 Jan 2008 22:11:23 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5008</guid>
      <author>Ayarc (Ryan)</author>
    </item>
  </channel>
</rss>
