> How many different ways can £2 be made using any number of coins?

wiv = WeightedIntegerVectors(200, [1,2,5,10,20,50,100,200])
wiv.count()
73682

Try the different methods of wiv for other questions. I read this in
the Sage book in french:

http://sagebook.gforge.inria.fr/

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.

Reply via email to