Beginner question
Chris Angelico
rosuav at gmail.com
Tue Jun 4 04:24:15 EDT 2013
On Tue, Jun 4, 2013 at 5:57 PM, John Ladasky <john_ladasky at sbcglobal.net> wrote:
> On Tuesday, June 4, 2013 12:45:38 AM UTC-7, Anssi Saari wrote:
>
>> BTW, did I get the logic correctly, the end result is random?
>
> You're right! I'm guessing that's not what the OP wants?
I'm guessing that's exactly what the OP wants. This is a fairly
classic programming puzzle; on the surface it appears that you have
some influence on the outcome, but ultimately you're playing
rock-paper-scissors with the Random Number God.
ChrisA
More information about the Python-list
mailing list