Random math op
benjamin.kaplan at case.edu
Sat Oct 2 19:01:19 CEST 2010
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é <hugol at fastmail.net> wrote:
> let say I have a simple math apps that randomize number X and number Y.
> How would you randomize between '/','*','+', and '-' for that math
> Hugo Léveillé
> hugol at fastmail.net
More information about the Python-list