On Sat, Oct 2, 2010 at 9:53 AM, Hugo Léveillé 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
What does it mean to 'randomize' a number? Just pick a number at random.
Geremy Con
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é wrote:
> Hi
> let say I have a simple math apps that randomize number X and number Y.
> How would you randomize between '/','*','+
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