Anonymous user
Set puzzle: Difference between revisions
→{{header|Mathematica}}
Line 1,338:
=={{header|Mathematica}}==
A simple brute force approach. This code highlights two things: 1) a few of Mathematica's "higher-level" functions such as Tuples and Subsets and 2) the straightforwardness enabled by the language's "dynamic typing" (more precisely, its symbolic semantics) and its
<lang Mathematica>colors = {Red, Green, Purple};
|