Hacker News new | ask | show | jobs
by doetoe 1211 days ago
You are replying to somebody talking about sage (rather than sympy), which in many fields (not all) is very far ahead of Mathematica. I do quite like the programming language of Mathematica, but an advantage of sage (and of sympy) is that you have the whole python standard library at your disposal. For your example you could e.g. use itertools.product.