Sum "pick" number

Sum "pick" number

Return to topic list

Thu Apr 3 14:10:27 2014   by   Will N.
How do I sum two of these:


{0,0,0,1,1,2} pick 1
 
Thu Apr 3 15:24:07 2014   by   Torben
Simply by:

sum 2#({0,0,0,1,1,2} pick 1)

Or, since (something pick 1) is equivalent to (choose something), slightly better as

sum 2#(choose {0,0,0,1,1,2})
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list