<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'A little help using randint(), please...' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'A little help using randint(), please...' posted on the 'Python' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 23:42:45 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 23:42:45 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>A little help using randint(), please...</title>
      <link>http://www.programmersheaven.com/mb/python/276927/276927/a-little-help-using-randint-please/</link>
      <description>Hi! Could anyone please explain exactly how to use randint()? I have read in the help and in the example that comes with python but i still cannot get it... please help!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/276927/276927/a-little-help-using-randint-please/</guid>
      <pubDate>Fri, 08 Oct 2004 11:44:11 -0700</pubDate>
      <category>Python</category>
    </item>
    <item>
      <title>Re: A little help using randint(), please...</title>
      <link>http://www.programmersheaven.com/mb/python/276927/277317/re-a-little-help-using-randint-please/#277317</link>
      <description>: Hi! Could anyone please explain exactly how to use randint()? I have read in the help and in the example that comes with python but i still cannot get it... please help!&lt;br /&gt;
&lt;br /&gt;
What is there to get?  &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
&amp;gt;&amp;gt;&amp;gt; import random
&amp;gt;&amp;gt;&amp;gt; help(random.randint)
Help on method randint in module random:

randint(self, a, b) method of random.Random instance
    Return random integer in range [a, b], including both end points.
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to pick a random integer between 1 and 6 (to simulate a die roll, perhaps), you call random.randint(1, 6).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;em&gt;&lt;span style="color: Blue;"&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;nfidel&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
$ select * from users where clue &amp;gt; 0
no rows returned
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/276927/277317/re-a-little-help-using-randint-please/#277317</guid>
      <pubDate>Tue, 12 Oct 2004 07:31:35 -0700</pubDate>
      <category>Python</category>
    </item>
    <item>
      <title>Re: A little help using randint(), please...</title>
      <link>http://www.programmersheaven.com/mb/python/276927/277329/re-a-little-help-using-randint-please/#277329</link>
      <description>: : Hi! Could anyone please explain exactly how to use randint()? I have read in the help and in the example that comes with python but i still cannot get it... please help!&lt;br /&gt;
: &lt;br /&gt;
: What is there to get?  &lt;br /&gt;
: &lt;br /&gt;
: &lt;pre class="sourcecode"&gt;
: &amp;gt;&amp;gt;&amp;gt; import random
: &amp;gt;&amp;gt;&amp;gt; help(random.randint)
: Help on method randint in module random:
: 
: randint(self, a, b) method of random.Random instance
:     Return random integer in range [a, b], including both end points.
: &lt;/pre&gt;&lt;br /&gt;
: &lt;br /&gt;
: If you want to pick a random integer between 1 and 6 (to simulate a die roll, perhaps), you call random.randint(1, 6).&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;span style="font-size: large;"&gt;&lt;em&gt;&lt;span style="color: Blue;"&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;nfidel&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;pre class="sourcecode"&gt;
: $ select * from users where clue &amp;gt; 0
: no rows returned
: &lt;/pre&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
That helped a lot, Thanks!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/276927/277329/re-a-little-help-using-randint-please/#277329</guid>
      <pubDate>Tue, 12 Oct 2004 09:22:29 -0700</pubDate>
      <category>Python</category>
    </item>
  </channel>
</rss>