I suggest you take a look at the random module. There should be something in there that suits your needs.
On Thu, Apr 22, 2010 at 2:13 PM, Bill Jordan <billjordan...@yahoo.com> wrote: > Hey everbody, > > If we have 100 apples, for example, and we need to distrubte the 100 apples > randomly in 10 boxes, how can we do this in python? > > Cheers > > > _______________________________________________ > Tutor maillist - tu...@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor