[FRPythoneers] Weighted List

Eric Brunson brunson at level3.net
Tue May 6 12:53:45 MDT 2003


Try adding the more heavily weighted values to the list multiple
times.

* Dhruva B. Reddy (bdhruva at gmx.net) [030506 11:43]:
> Hi,
> 
> I would like to choose elements from a list at random, but weight these
> elements.  Has anyone done this?
> 
> Thanks,
> Dhruva
> -- 
>  "Those who would give up essential liberty to purchase a little temporary
>  safety deserve neither liberty or safety. Nor, are they likely to end
>  up with either."-- Benjamin Franklin
> 
> _______________________________________________
> This message sent by the FRPythoneers mailing list.
> Unsubscribe: echo unsubscribe | FRPythoneers-request at lists.community.tummy.com
> URL: http://lists.community.tummy.com/mailman/listinfo/frpythoneers


-- 
"Those who will sacrifice essential liberty for temporary security
    deserve neither liberty nor security" - Benjamin Franklin



More information about the FRPythoneers mailing list