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
___
EuroPython 2010 - Birmingham, 17-24 July 2010 - http://www.europython2010.eu
EuroPython mai
On Thu, Apr 22, 2010 at 12:18 PM, Bill Jordan 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?
Well, first you'd need to build a robot that you could control using
python. If you wanted to
Hey Bill,
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?
>
I assume the only invariant is sum(box_apples_i) == 100 for 10 boxes?
Maybe the following would do?
from random import sample
partitions = [0] + sorted(s
Hi David,
I am interested in this project. Could you please write in detail about this
project.
I would highly appreciate it.
Regards,
Subodhini
On Sat, Apr 17, 2010 at 3:01 AM, David Zhang wrote:
> Hello!
>
> I have started an open source project to develop human-level
> Artificial Intellige