handtotal:=proc(hand::list) local total; global Cardvalues; total := 0; total := sum('Cardvalues[hand[k]]', 'k' = 1..nops(hand)); if(is_an_ace(hand)) then (unable to parse)if(total + 10

Please Wait...