use the add, sub, div, and mul functions in the operator module. Stick
them in a list, and then randomly pull one out.


On Sat, Oct 2, 2010 at 12:53 PM, Hugo Léveillé <hu...@fastmail.net> wrote:
> Hi
> let say I have a simple math apps that randomize number X and number Y.
> How would you randomize between '/','*','+', and '-' for that math
> operation
>
>
> --
>  Hugo Léveillé
>  hu...@fastmail.net
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to