Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: A Rebol Challenge. The Monty Hall Puzzle IN 0 BYTES

From: deadzaphod:flyingparty at: 18-Dec-2001 5:25

> But > > w: 100 loop w[w: w - random 2 / 3] > > is 34 bytes...
doesn't really compute correctly, it gives a constant result.
>> w: 100 loop w[w: w - random 2 / 3]
== 33.3333333333332
>> w: 100 loop w[w: w - random 2 / 3]
== 33.3333333333332
>> w: 100 loop w[w: w - random 2 / 3]
== 33.3333333333332 if that counted we could use: w: random 2 / 3 ?? w 20 bytes ;-)